(map-syntax f v) f: a callable v: any type returns any type
Maps a function over a collection, preserving syntax information.
Arrays parsed from a file have hidden syntax information which describes the filename and line number from which they were parsed. The usual map function discards this information.
v is an array or table,
map-syntax returns a cloned array or table, with the
same syntax information as
v, where each element, key or value has been mapped using
v is returned unchanged.