Try:
proc pprint[T1](ann: string): (proc(t0: T1): T1) =
return proc(val: T1): T1 =
return val
echo pprint[int]("test")(42)
- Procedure which returns procedure dmitrys99
- Re: Procedure which returns procedure Araq
- Re: Procedure which returns procedure dmitrys99
- Re: Procedure which returns procedure flyx
