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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user