Idris2/tests/idris2/basic052/DoubleClBrace.idr

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}}