Idris2/tests/idris2/namespace002/Issue1313.idr

15 lines
133 B
Idris
Raw Normal View History

namespace X
export
f : Int -> Int
namespace Y
g : Int -> Int -> Int
g x y = x + f g
namespace X
f 5 = 6
f x = x - 1