Idris2/tests/idris2/with004/Issue637.idr

7 lines
81 B
Idris
Raw Normal View History

foo : Int -> Int
foo x with (x + 1)
foo x | y = y + x
foo2 : Int
foo2 = foo 5