]> Cypherpunks repositories - gostls13.git/commit
doc/next: add motivation and details links for range-over-func iterators
authorthepudds <thepudds1460@gmail.com>
Sat, 15 Jun 2024 22:00:19 +0000 (18:00 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 17 Jun 2024 22:41:42 +0000 (22:41 +0000)
commit77cc7fbc842f221d54a635757eaf88d17fe67971
treeb04fd313c58c35d45923965e03ea040717664d22
parent144c96fac3ed1a5d4329238af1b98d3c09a6c438
doc/next: add motivation and details links for range-over-func iterators

The "Changes to the language" section at the top of the release notes
will likely ultimately include more explanation about iterators, or at
least, the Go project will likely publish additional introductory
material on iterators on the blog and so on.

As a perhaps temporary step given current interest, this CL updates the
release notes with two additional links for details and motivation.

The new package documentation for the iter package is up-to-date,
precise, and also more accessible than the language spec, while the 2022
pre-proposal GitHub discussion starts with perhaps the most compelling
motivation writeup so far. (We purposefully include "2022" in the text
to help illustrate this was not the result of an overly hasty process).

We also update the target of the existing language spec reference to be
closer to the new material.

For #61405.

Change-Id: I4bc0f99c40f31edfc5c0e635dca5f844b26b6eeb
Reviewed-on: https://go-review.googlesource.com/c/go/+/592935
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
doc/next/2-language.md