range func experiment typo?

121 views
Skip to first unread message

Mark

unread,
Jan 19, 2024, 4:32:39 AMJan 19
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