Re: [go-nuts] [generics] Issues with identifying the matched predeclared type

2020-07-07 Thread Tobias Gustafsson
Den tisdag 7 juli 2020 kl. 16:45:21 UTC+2 skrev rog: > > On Tue, 7 Jul 2020 at 10:36, Tobias Gustafsson > wrote: > >> Hi all, >> >> Thanks for the response on this subject! >> >> Yes, a kind of type switch over generic types is probably what I >>

Re: [go-nuts] [generics] Issues with identifying the matched predeclared type

2020-07-07 Thread Tobias Gustafsson
Hi all, Thanks for the response on this subject! Yes, a kind of type switch over generic types is probably what I envision. There is a potentially nice symmetry with the current runtime type switches and type annotations that caught my eye (being aware of the fact that finding false patterns