I really, really like this. I liked the original proposal, but using the 
"type" keyword seems very natural. And I like the 80/20 constraints thing 
with eq/ord/num. Good work -- I hope this gets turned into an official 
proposal and debated.

-Ben


On Thursday, June 27, 2019 at 10:29:03 AM UTC-4, Michal Strba wrote:
>
> Hey everybody!
>
> A few weeks ago, I posted about my proposal for generics in Go 2. You can 
> find it here. 
> <https://gist.github.com/faiface/e5f035f46e88e96231c670abf8cab63f>
>
> Today, I finished a proof-of-concept implementation. It was a lot of fun 
> and I learned a lot about the internals of Go.
>
> The implementation is a program that takes a Go file that uses generics 
> and translates it to a regular Go file that you can run.
>
> Try it out here :) <https://github.com/faiface/generics>
>
> I'm looking forwad to all your feedback!
>
> Michal Štrba
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/199bad6c-ed62-44a6-960b-86503242537a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to