Open link in next tab
proposal: spec: add range over int, range over func · Issue #61405 · golang/go
https://github.com/golang/go/issues/61405
Following discussion on #56413, I propose to add two new types that a for-range statement can range over: integers and functions. In the spec, the table that begins the section would have a few mor...