Unfortunately not, but I agree that it would be nice to have.
Maybe it is worth filing an issue to introduce a syntax like this?
d.[A]
# should be equivalent to
getindex.(Ref(d), A)
Or is there a fundamental reason against it?
Unfortunately not, but I agree that it would be nice to have.
Maybe it is worth filing an issue to introduce a syntax like this?
d.[A]
# should be equivalent to
getindex.(Ref(d), A)
Or is there a fundamental reason against it?