Replies: 2 comments
-
|
This feature is not trivial especially when nesting generic types. Therefore one could consider to permit nesting within a generic type, unless it does not directly capture but possibly only alias the generic type. Nesting a generic type in a non-generic type is fine. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I can see lots of usages where it can be useful, for greanullar and modular implementations, to custom type/data classes with types constrained only inside them and so on... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Allow us to nest types in other types.
Prefixing every type that’s meant to be nested creates very long type names.
Beta Was this translation helpful? Give feedback.
All reactions