Range over int and func, it's happening!
Range over int and func, it's happening!
github.com spec: add range over int, range over func 路 Issue #61405 路 golang/go
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...
Go 1.22 will ship with "range over int" and experimental support for "range over func" 馃コ
0
comments