From 2b0f2f8169bed01e3bf72d49863cd2852bdf7c7e Mon Sep 17 00:00:00 2001 From: aimuz Date: Mon, 20 May 2024 09:04:15 +0000 Subject: 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 LUCI-TryBot-Result: Go LUCI Commit-Queue: Ian Lance Taylor Reviewed-by: Russ Cox Auto-Submit: Russ Cox Reviewed-by: Ian Lance Taylor --- api/next/61900.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 api/next/61900.txt (limited to 'api') 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 -- cgit v1.3-5-g9baa