List.mapWithIndex

This commit is contained in:
Folkert 2021-02-17 22:29:15 +01:00
parent 7bd228ca9b
commit 65ab08728a
11 changed files with 117 additions and 5 deletions

View file

@ -25,6 +25,7 @@ pub enum LowLevel {
ListPrepend,
ListJoin,
ListMap,
ListMapWithIndex,
ListKeepIf,
ListWalk,
ListWalkBackwards,

View file

@ -898,6 +898,7 @@ define_builtins! {
20 LIST_LAST: "last"
21 LIST_KEEP_OKS: "keepOks"
22 LIST_KEEP_ERRS: "keepErrs"
23 LIST_MAP_WITH_INDEX: "mapWithIndex"
}
5 RESULT: "Result" => {
0 RESULT_RESULT: "Result" imported // the Result.Result type alias