any #143
emil14
started this conversation in
Type System
any
#143
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
any is a supertype for all types, all types are subtypes of any, any is not subtype for any type except itself
this could siplify cases descbibed in #142
so instead of
any_vec<t, y vec<t>> = vec<t>
we can sayany_vec = vec<any>
Beta Was this translation helpful? Give feedback.
All reactions