mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-11 06:14:41 +03:00
8 lines
209 B
Plaintext
8 lines
209 B
Plaintext
1/1: Building Interp (Interp.idr)
|
|
Main> Main.evalAdd : Nat -> Nat -> Nat
|
|
evalAdd x y = let add = \val, val => plus val val in add x y
|
|
Main> Main.evalBlock : Nat
|
|
evalBlock = plus 3 4
|
|
Main> 5
|
|
Main> Bye for now!
|