Open
Description
Do we actually want this?
julia> map(x -> x+1, "abc")
"bcd"
julia> map((x,y) -> x+1, "abc", [1,2,3])
3-element Vector{Char}:
'b': ASCII/Unicode U+0062 (category Ll: Letter, lowercase)
'c': ASCII/Unicode U+0063 (category Ll: Letter, lowercase)
'd': ASCII/Unicode U+0064 (category Ll: Letter, lowercase)
Is it worth the break from the typical semantics of map
where the function always returns an AbstractArray
?
Can we rename this method to stringmap
?