mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 18:51:40 +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
|