Idris2/tests/idris2/with/with004/Issue637.idr
2023-09-07 14:57:22 +01:00

7 lines
81 B
Idris

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