Don't have inplace methods return a new sequence

This commit is contained in:
Sheepolution 2022-02-22 05:01:27 +01:00 committed by GitHub
parent 8fd402b125
commit 6df4b4bddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,9 +65,7 @@ end
--(common case where something returns another sequence for chaining)
for _, v in ipairs({
"map",
"map_inplace",
"filter",
"filter_inplace",
"remove_if",
"zip",
"stitch",
@ -85,6 +83,8 @@ end
--(cases where we don't want to construct a new sequence)
for _, v in ipairs({
"map_inplace",
"filter_inplace",
"foreach",
"reduce",
"any",