Parameters.jl icon indicating copy to clipboard operation
Parameters.jl copied to clipboard

Make with_kw-structs scalar for broadcast?

Open mauro3 opened this issue 7 years ago • 1 comments

Like so:

Broadcast.broadcastable(p::Para) = Ref(p)

mauro3 avatar Aug 09 '18 11:08 mauro3

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.

mauro3 avatar Jan 28 '19 13:01 mauro3