As I wasn't happy with some aspects of it, I've rewritten my feedback on the Go 2 Generics draft and deleted the original gist. Here's the link to the new gist for anybody who's interested: https://gist.github.com/alanfo/5da5932c7b60fd130a928ebbace1f251
This is still based on the type-class idea though I'm now proposing a simplified contracts approach to go with it rather than trying to make interfaces fit. It seems to deal easily now with all the examples in the draft paper though no doubt there will be stuff that it can't do or that I've overlooked. The more I look at this, the more complicated it seems to get :( -- 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.