Alternative syntax for array shapes #744
Danil42Russia
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Shapes can have optional fields, can we express them in this syntax? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For tuple (
tuple(T1, T2, ..., Tn)
)array{T1, T2, ..., Tn}
array{T1?, T2?, ..., Tn?}
For shapes (
shape(k1:T1, k2:T2, ..., kn:Tn)
)array{k1:T1, k2:T2, ..., kn:Tn}
array{k1:T1?, k2:T2?, ..., kn:Tn?}
array{'k1':T1, 'k2':T2, ..., 'kn':Tn}
Reference
Beta Was this translation helpful? Give feedback.
All reactions