What's up with broadcasting over dictionaries and NamedTuple's is reserved
#30836
Labels
broadcast
Applying a function over a collection
collections
Data structures holding multiple items, e.g. sets
Is there a consensus on what to do about broadcasting named tuples and dicts? Currently (Julia 1.1):
I'm asking because I'm pondering to make structs defined with
@with_kw
of Parameters.jl automatically not broadcast mauro3/Parameters.jl#70. However, it would also be nice, if named tuples and dicts would work as drop-in for@with_kw
structs. Thus, will they broadcast as scalars or as containers?x-ref: #26212; add milestone?
The text was updated successfully, but these errors were encountered: