valhallac

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

functions.vh (304B)


a : Nat -> Nat -> Int
a n m = n - 2*m

a 1 2

-- a = n |-> (m |-> n - 2*m)
--           |_____________|
--                  |
--               func: `__a_final`
--     |_____________________|
--                |
--             func: `__a__0`
-- |__________________________|
--          |
--       func: a