Map and NamedTuple

question

#1

I really like the fact that map keeps the keys of NamedTuple, eg

julia> map(eltype, (a = [1], b = [2.0]))
(a = Int64, b = Float64)

but I wonder it this is something that I can rely on from now on, as I could not find it in the documentation of either map or NamedTuple.


#2

Yes, this is intended and I intend to keep it this way.