We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Should Traitor-like syntax sugar be added? Looks like:
@traitfn function howbig(x::Any::Big) "Huge!" end
from the readme of https://github.com/andyferris/Traitor.jl. Would be equivalent to:
@traitfn function howbig{X; Big{X}}(x::X) "Huge!" end
The text was updated successfully, but these errors were encountered:
10c7711
Note, that still only one trait can appear per function signature.
Thanks to @c42f and @andyferris for the good ideas.
Sorry, something went wrong.
No branches or pull requests
Should Traitor-like syntax sugar be added? Looks like:
from the readme of https://github.com/andyferris/Traitor.jl. Would be equivalent to:
The text was updated successfully, but these errors were encountered: