m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/good/curry.mim
blob: 2fc0b7b487e74aa4e54d8a2c26a79decca3ef017 (plain)
1
2
3
4
5
6
7
8
(let (curry f : {Int Int} -> Int)
  (lambda n : Int
    (lambda m : Int
      (f {n m})))
(let (add xy : {Int Int})
  (+ xy.1 xy.2)
(let (cAdd) (curry add)
  ((cAdd 3) 4))))