mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-22 19:21:39 +03:00
9 lines
102 B
Idris
9 lines
102 B
Idris
|
foo : Int -> Int
|
||
|
foo x = x
|
||
|
|
||
|
bar : Int -> Int
|
||
|
bar x = let y = (42 in y + x
|
||
|
|
||
|
baz : Int -> Int
|
||
|
baz x = x
|