aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authoraimuz <mr.imuz@gmail.com>2024-05-20 09:04:15 +0000
committerGopher Robot <gobot@golang.org>2024-05-20 16:01:35 +0000
commit2b0f2f8169bed01e3bf72d49863cd2852bdf7c7e (patch)
tree605b85309f1caf8c69e62761191edaaa0ecdabaa /api
parent4edb367bac85cf16f85a3cea952375ae2539340d (diff)
downloadgo-2b0f2f8169bed01e3bf72d49863cd2852bdf7c7e.tar.xz
maps: add All, Keys, Values, Insert, Collect
Fixed #61900. Change-Id: Ic5962dc92b3102e7448635bef541414a2eaf415e GitHub-Last-Rev: 3c6f74d6173c519ce090e22e724da04efff79022 GitHub-Pull-Request: golang/go#67521 Reviewed-on: https://go-review.googlesource.com/c/go/+/586716 Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Ian Lance Taylor <iant@google.com> Reviewed-by: Russ Cox <rsc@golang.org> Auto-Submit: Russ Cox <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'api')
-rw-r--r--api/next/61900.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/next/61900.txt b/api/next/61900.txt
new file mode 100644
index 0000000000..4a669b90ab
--- /dev/null
+++ b/api/next/61900.txt
@@ -0,0 +1,5 @@
+pkg maps, func All[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq2[$1, $2] #61900
+pkg maps, func Collect[$0 comparable, $1 interface{}](iter.Seq2[$0, $1]) map[$0]$1 #61900
+pkg maps, func Insert[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0, iter.Seq2[$1, $2]) #61900
+pkg maps, func Keys[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq[$1] #61900
+pkg maps, func Values[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq[$2] #61900