On Fri, Jul 24, 2020 at 9:15 AM binary cat wrote:
>
> Doing `var F = Foo` (where `Foo` is a generic function) fails with an error
> like this: `prog.go2:21:9: cannot use generic function Foo (value of type
> func(type T1, T2)(fst T1, snd T2) Bar(T1, T2)) without instantiation in
> variable decl
Doing `var F = Foo` (where `Foo` is a generic function) fails with an error
like this: `prog.go2:21:9: cannot use generic function Foo (value of type
func(type T1, T2)(fst T1, snd T2) Bar(T1, T2)) without instantiation in
variable declaration`. Trying `var F = Foo[int,int]` fails with an error
like