wildcard attributes
jfb-h opened this issue · comments
How do you access the data-*
wildcard attributes in julia?
How do you access the data-* wildcard attributes in julia?
Using the string literal var
:
julia> var"data-s" = 2
2
julia> var"data-s"
2
julia> f(; var"data-f") = var"data-f" * 5
f (generic function with 1 method)
julia> f(var"data-f" = 10)
50
Thanks! Should we leave this open for now for documentation purposes? I couldn't find anything on this in the docs but maybe I'm just blind.