Parameters.jl
Parameters.jl copied to clipboard
Make with_kw-structs scalar for broadcast?
Like so:
Broadcast.broadcastable(p::Para) = Ref(p)
NamedTuples and Dicts will probably not behave as scalars (https://github.com/JuliaLang/julia/issues/30836). The question is whether we want the Parameter-structs to behave like NamedTuples and Dicts, as @unpack does, or not. Leaving this open to ponder for now.