mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +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
|