On Fri, Jan 1, 2021 at 12:40 PM robert engels <reng...@ix.netcom.com> wrote:
>
> I was thinking more of an internal api - maybe stdlib authors only - writing 
> code similar to map.go to create an alternate map type, and allow selecting 
> of that map type in the make() call. It would be more difficult to write the 
> collections implementation, and the methods available are fixed to the 
> current Go map syntax - but I think it would address a large segment of the 
> need for generics without adding generics. I think many of the other use 
> cases can be dealt with using interfaces - maybe having many of them 
> predeclared in the stdlib for consistency.
>
> So then the issue becomes a purely technical one - how to write these 
> implementations and have them integrated into the build.

Fair enough.

Ian

-- 
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/CAOyqgcX9TJXAPBeye5tHvLjaxddaKdctSKzWfzpuxWAUhndRBw%40mail.gmail.com.

Reply via email to