Skip to content

Commit 81b440a

Browse files
haroldcarrbennn
authored andcommitted
supply missing in metafunction (#110)
1 parent 800e7c2 commit 81b440a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

redex-doc/redex/scribblings/long-tut/mon-aft.scrbl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,10 @@ Here are two more metafunctions that use patterns in interesting ways:
207207
(where #false (in x (x_1 ...)))]
208208
[(subtract1 (x ...) x_1) (x ...)])
209209

210-
210+
(define-metafunction Lambda
211+
in : x (x ...) -> boolean
212+
[(in x (x_1 ... x x_2 ...)) #true]
213+
[(in x (x_1 ...)) #false])
211214

212215
))
213216
@;%

0 commit comments

Comments
 (0)