mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +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
|