Re: [go-nuts] Generics and parentheses

2020-07-20 Thread Peter McKenzie
This seems to be very similar to a suggestion I made a couple of years ago: https://gist.github.com/peter-mckenzie/5cc6530da1d966e743f4a39c150a6ac2 The spaces are in different places but that could be regarded as a matter of style. I always liked it, but maybe a little too quirky for most

Re: [go-nuts] "Interfaces" with type lists are a strange beast

2020-08-13 Thread Peter McKenzie
On Sunday, August 9, 2020 at 4:17:06 AM UTC+12, Ian Lance Taylor wrote: > > On Fri, Aug 7, 2020 at 6:54 PM Robert Engels > wrote: > > > > I’d really like to see an example of generic code that takes both string > and numeric types that uses operators. Sorting/searching is one but as I > alre