mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +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
|