Skip to content

Comment on Go 1.23 Is Released

Comments

Range expressions in a “for-range” loop may now be iterator functions, such as func(func(K) bool).

I guess the return means "should I `break`".

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.