Skip to content

Commit 989eb9a

Browse files
macros are actually in a decently good state
1 parent b1a0c4a commit 989eb9a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

STDLIB/default-rules.lm

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ macro ('match t ps) (tail(
77
(match-pats( (uuid term) ps (fail PatternMatchFailure_s) ))
88
));
99

10-
macro ('match-pats( term ps remainder )) (
10+
macro ('match-pats( term () remainder )) (
11+
remainder
12+
);
13+
14+
macro ('match-pats( term (ps (lhs rhs)) remainder )) (
1115
remainder
1216
);
1317

14-
#macro ('match-pats( term matched return () )) ();
1518
#macro ('match-pats( term matched return (ps (lhs rhs)) )) (
1619
# (match-pats( term matched return ps ))
1720
# (if matched () (

0 commit comments

Comments
 (0)