1
1
mirror of https://github.com/idris-lang/Idris2.git synced 2025-01-08 08:52:22 +03:00
Idris2/tests/idris2/with/with004/Issue637-2.idr

9 lines
112 B
Idris
Raw Normal View History

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