mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 09:12:34 +03:00
8 lines
212 B
Plaintext
8 lines
212 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!
|