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

9 lines
112 B
Idris

namespace A
export
foo3 : Int -> Int
foo3 x with (x + 1)
foo3 x | y = y + x
foo4 : Int
foo4 = A.foo3 5