Groups
Sign in
Groups
golang-nuts
Conversations
About
Send feedback
Help
range func experiment typo?
121 views
Skip to first unread message
Mark
unread,
Jan 19, 2024, 4:32:39 AM
Jan 19
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
In the
RangefuncExperiment
doc it says:
for k, v := range g { ... } // g has type Seq[K,V], k and v have types K and V
but shouldn't this be:
for k, v := range g { ... } // g has type Seq2[K,V], k and v have types K and V
Anyway, it looks interesting.
Reply all
Reply to author
Forward
0 new messages