mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 10:41:59 +03:00
11 lines
131 B
Idris
11 lines
131 B
Idris
module DoubleClBrace
|
|
|
|
f : {a : Nat} -> Nat
|
|
f {a} = a + 1
|
|
|
|
g : {b : Nat} -> Nat
|
|
g {b} = b + 2
|
|
|
|
h : Nat -> Nat
|
|
h c = g {b = f {a=c}}
|