mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 01:01:59 +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!
|