You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is IMO quite unintuitive and confusing to read:
julia> s = Base.AnnotatedString("this is an example annotated string", [(1:18, :A=>111), (12:28, :B=>222), (18:35, :C=>333)])
julia> Base.annotations(s)[2][1]
12:28
julia> Base.annotations(s)[2][2][1] # or Base.annotations(s)[2][2].first:B
julia> Base.annotations(s)[2][2][2] # or Base.annotations(s)[2][2].second222
Would be much nicer and self-explanatory to use meaningful names instead of numbers: