Idris2/tests/idris2/perror003/PError2.idr

9 lines
103 B
Idris
Raw Normal View History

foo : Int -> Int
foo x = x
bar : Int -> Int
bar x = let y := (42 in y + x
baz : Int -> Int
baz x = x