valhallac

Compiler for set-theoretic programming language.
git clone git://git.knutsen.co/valhallac
Log | Files | Refs | README | LICENSE

currying_infix.vh (184B)


(2 + 3)  -- Eq. of: ((2 +) 3), can write: ((+ 3) 2)
(2 +)
(+ 3)  -- Partial application


----
2 + 3
-- same as
(+) 2 3
-- same as
(flip (+)) 3 2
-- same as
(2 +) 3
-- same as
(+ 3) 2