Dictionaries can readily be considered as functions with a finite domain. Thus, arguably, they should be callable anyways:
(d::Dict)(k) = d[k]
and caesar.(d.(p)) just works as expected.
Dictionaries can readily be considered as functions with a finite domain. Thus, arguably, they should be callable anyways:
(d::Dict)(k) = d[k]
and caesar.(d.(p)) just works as expected.