-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change to use Tuple type in type params #66
Comments
Any more thoughts on this? I'm thinking about if we can tag 1.0, and tempted to suggest yes, unless there are plans to make the change anytime soon. |
Are there any downsides to this besides it being visually less appealing |
No, but it is |
Could you clarify what's proposed? It would be possible leave |
I think we can overcome ugly with overloading show but I'm concerned about hurting performance or easy to use syntax for constructing things. Otherwise we get to dispatch on names |
Dispatch on partial names. I hope we have enough |
I guess you could write definitions like |
An interesting possibility. |
I agree That being said, it might be good to let this incubate a bit longer. It's obvious not everyone loves the change and no one has expressed a strong opinion in favor of it. It's always possible that an even better solution is identified or some lurking issue with using |
What if we use |
It is a bit uglier but then can dispatch on them.
And the wildcard becomes
Any
(I.e
<:Any
since tuples are covarient)More generally relax things so it can be any thing allowed in a type-param.
But Symbol is going to be best since then can have kwargs
getindex
etc.Needed for #43
The text was updated successfully, but these errors were encountered: