Re:Go by Example
by earthboundkid on Friday January 17, 2014 @08:52PM
(#7079680)
I firmly believe that when Go introduces generics, the syntax should look like:
type T1 generic type T2 generic
func Map(f func(T1) T2, s []T1) []T2
now my code looks like "func map(x []T, f func(T) T)" and everybody's happy :)