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
I think we should support the same operations for NamedTuple as for Tuple. I don't see why we would be more restrictive for the latter, except maybe for things like nt[true] and nt[1.0] which don't work with arrays and should probably never have been allowed for tuples.
I want to raise some cases with indexing
Tuple
andNamedTuple
.Tuple
You are allowed to index
Tuple
with values that are not allowed for arrays:Should we disallow this?
NamedTuple
You are not allowed to index
NamedTuple
with vectors, e.g.Here the question is if we should allow this.
CC @nalimilan, @pdeffebach
The text was updated successfully, but these errors were encountered: