Now that https://github.com/JuliaLang/julia/pull/24960 has been merged, it's possible to do fancy things with a.b syntax. I think it could make sense to use this feature in FITSIO.jl, so that fields can be accessed with the more natural syntax fits.field, rather than fits[:field]. What do you think?
It should be easy to deprecate the old syntax in favor of the new one, however I fear that all this will require Julia 0.7.
Now that https://github.com/JuliaLang/julia/pull/24960 has been merged, it's possible to do fancy things with
a.b
syntax. I think it could make sense to use this feature inFITSIO.jl
, so that fields can be accessed with the more natural syntaxfits.field
, rather thanfits[:field]
. What do you think?It should be easy to deprecate the old syntax in favor of the new one, however I fear that all this will require Julia 0.7.