You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Check that the trees match and return the contents from the pattern holes.
157
152
* Return None if the trees do not match otherwise return Some of a tuple containing all the contents in the holes.
158
153
*
159
-
* @paramscrutinee The tree beeing matched
154
+
* @paramscrutinee The tree being matched
160
155
* @parampattern The pattern tree that the scrutinee should match. Contains `patternHole` holes.
161
156
* @param`summon[Env]` Set of tuples containing pairs of symbols (s, p) where s defines a symbol in `scrutinee` which corresponds to symbol p in `pattern`.
162
157
* @return `None` if it did not match or `Some(tup: Tuple)` if it matched where `tup` contains the contents of the holes.
@@ -382,21 +377,13 @@ object Matcher {
382
377
383
378
endextension
384
379
385
-
extension (scrutinee: ParamClause)
386
-
/** Check that all parameters in the clauses clauses match with =?= and concatenate the results with &&& */
0 commit comments