lang: parser, funcs, core, iter: Rename xmap to map

The map function previously existed as "xmap" because this was a
reserved word in the parser. This now adds a special case for this
identifier name.
This commit is contained in:
James Shubin
2023-06-01 18:08:37 -04:00
parent 66edf22ea3
commit d1c7770949
8 changed files with 103 additions and 15 deletions

View File

@@ -29,8 +29,7 @@ import (
const (
// MapFuncName is the name this function is registered as.
// XXX: rename to map once our parser sees a function name and not a type
MapFuncName = "xmap"
MapFuncName = "map"
)
func init() {