On Tuesday, October 16, 2018 at 6:34:10 AM UTC-4, Patrick Smith wrote: > > Yet another generics discussion at > https://gist.github.com/pat42smith/ccf021193971f6de6fdb229d68215302 > > This one looks at what programmers would be able to do if very basic > generics were added to Go, without contracts. Generic functions may not use > methods or operators of their type parameters. > > The answer is quite a lot, actually. The code would be verbose, but not > impossibly so. >
Ingenious, but I think it fails Ian Lance Taylor's smoke test. I also dislike the verbosity. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.