Idris2/tests/idris2/with004/Issue637.idr
2021-02-23 10:52:22 +00:00

7 lines
81 B
Idris

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