mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-29 03:24:02 +03:00
9 lines
112 B
Idris
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
|