mirror of
https://github.com/sdiehl/write-you-a-haskell.git
synced 2024-09-11 19:47:31 +03:00
Merge pull request #87 from halyconic/master
fix names for ski combinators
This commit is contained in:
commit
fc2be3da4b
@ -6,6 +6,6 @@ data Expr
|
||||
| Lam Name Expr
|
||||
|
||||
s, k, i :: Expr
|
||||
s = Lam "x" (Var "x")
|
||||
i = Lam "x" (Var "x")
|
||||
k = Lam "x" (Lam "y" (Var "x"))
|
||||
i = Lam "x" (Lam "y" (Lam "z" (App (App (Var "x") (Var "z")) (App (Var "y") (Var "z")))))
|
||||
s = Lam "x" (Lam "y" (Lam "z" (App (App (Var "x") (Var "z")) (App (Var "y") (Var "z")))))
|
||||
|
Loading…
Reference in New Issue
Block a user