mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-28 06:05:56 +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
|