The main point of uncertainty was iterating over elements. Now that iteration is solved in Go 1.23, is it perhaps time to advance this design and turn it into a proposal for the 1.24 release cycle?
twp...@gmail.com
unread,
Jul 1, 2024, 4:49:40 PMJul 1
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
+1 on this.
At the moment, every module that needs a set implementation ends up creating its own, either using map[T]struct{} or map[T]bool. Having a set implementation in the standard library would significantly increase operability between modules, even if the implementation is trivial.
Michael Whatcott
unread,
Aug 22, 2024, 9:51:48 PMAug 22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message