Skip to content

Commit 752b09d

Browse files
committed
Fix case
1 parent 2a32a72 commit 752b09d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ <h1>
5050
(\ f x . f (x x))
5151

5252
# Unbound
53-
someFunc = \ local . true nonexistant local
53+
some-func = \ local . true non-existant local
5454

5555
# Out of scope args
56-
otherFunc = \ x . const (\ scopedArg . x ()) scopedArg x
56+
other-func = \ x . const (\ scoped-arg . x ()) scoped-arg x
5757

5858
# Debug mode on
5959
#debug
@@ -62,18 +62,18 @@ <h1>
6262
(\ f x . f (x x))
6363

6464
# Unbound - Debug
65-
someFunc = \ local . true nonexistant local
65+
some-func = \ local . true non-existant local
6666

6767
# Out of scope args - Debug
68-
otherFunc = \ x . const (\ scopedArg . x ()) scopedArg x
68+
other-func = \ x . const (\ scoped-arg . x ()) scoped-arg x
6969

7070
# Debug mode off
7171
#debug
7272

7373
# More code
7474
zero = false
7575
succ = \ n f x . f (n f x)
76-
isZ = \ n . n (const false) true
76+
is-z = \ n . n (const false) true
7777
add = \ a b f x . a f (b f x)
7878
mul = \ a b f . a (b f)
7979
three = succ (succ (succ zero))
@@ -96,15 +96,15 @@ <h1>
9696
map = \ f xs . null xs nil (cons (f (head xs)) (map f (tail xs)))
9797
sum = foldr add zero
9898
drop = \ n . n tail
99-
take = \ n xs . isZ n nil (cons (head xs) (take (pred n) (tail xs)))
99+
take = \ n xs . is-z n nil (cons (head xs) (take (pred n) (tail xs)))
100100
col = \ n xs . head (drop n xs)
101101
colS = \ n xs . cons (col n xs) (cons (col (succ n) xs) (cons (col (succ (succ n)) xs) (nil)))
102102
row = \ n xs . map (col n) xs
103-
rowS = \ n xs . cons (row n xs) (cons (row (succ n) xs) (cons (row (succ (succ n)) xs) (nil)))
104-
chunk = \ a b xs . rowS a (colS b xs)
103+
row-s = \ n xs . cons (row n xs) (cons (row (succ n) xs) (cons (row (succ (succ n)) xs) (nil)))
104+
chunk = \ a b xs . row-s a (colS b xs)
105105
append = \ as bs . null as bs (cons (head as) (append (tail as) bs))
106106
concat = foldr append nil
107-
eq = \ a b . isZ a (isZ b) (isZ b false (eq (pred a) (pred b)))
107+
eq = \ a b . is-z a (is-z b) (is-z b false (eq (pred a) (pred b)))
108108
all = foldr (\ a b . a b false) true
109109
allf = \ f xs . all (map f xs)
110110
</textarea>

0 commit comments

Comments
 (0)