mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-28 11:05:17 +03:00
7 lines
81 B
Idris
7 lines
81 B
Idris
foo : Int -> Int
|
|
foo x with (x + 1)
|
|
foo x | y = y + x
|
|
|
|
foo2 : Int
|
|
foo2 = foo 5
|