Idris2-boot/tests/idris2/perror003/PError.idr

9 lines
102 B
Idris
Raw Normal View History

2019-06-29 23:37:30 +03:00
foo : Int -> Int
foo x = x
bar : Int -> Int
bar x = let y = (42 in y + x
baz : Int -> Int
baz x = x