File tree Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change 31
31
32
32
< form >
33
33
< textarea id ="code ">
34
- # Some code (with ignored arguments)
34
+ # Ignored arguments
35
35
false = \ _a b . b
36
36
true = \ a _b . a
37
37
not = \ b . b false true
43
43
# Invalid names
44
44
%value = ()
45
45
46
- # Invalid args - unbound
46
+ # Invalid whitespace (tabs)
47
+ whitespace = ()
48
+
49
+ # Bare term
50
+ (\ f x . f (x x))
51
+
52
+ # Unbound
47
53
someFunc = \ local . true nonexistant local
48
54
49
- # Invalid args - scoped
55
+ # Out of scope args
50
56
otherFunc = \ x . const (\ scopedArg . x ()) scopedArg x
51
57
58
+ # Debug mode on
59
+ #debug
60
+
61
+ # Bare term - Debug
62
+ (\ f x . f (x x))
63
+
64
+ # Unbound - Debug
65
+ someFunc = \ local . true nonexistant local
66
+
67
+ # Out of scope args - Debug
68
+ otherFunc = \ x . const (\ scopedArg . x ()) scopedArg x
69
+
70
+ # Debug mode off
71
+ #debug
72
+
52
73
# More code
53
74
zero = false
54
75
succ = \ n f x . f (n f x)
You can’t perform that action at this time.
0 commit comments