mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 09:12:34 +03:00
7 lines
74 B
Idris
7 lines
74 B
Idris
|
|
f : (Nat -> Nat) -> Nat
|
|
f k = f \n => k (S n)
|
|
|
|
g : Nat -> Nat
|
|
g x = f ?a
|