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
MWE:
function foo(ex) @match ex begin Expr(:call, sin, 2π) => 0 _ => "unknown" end end
it seems there is no way to eval numerics in the pattern?
The text was updated successfully, but these errors were encountered:
should be &2π, this part is a bit intuitive to me. I'm wondering if it is possible to just write 2π without making ambiguity?
&2π
2π
Sorry, something went wrong.
It's &(2π).
&(2π)
I'm wondering if it is possible to just write 2π without making ambiguity?
It's impossible, I remember we used to discuss about this.
Expr(:call, 2, :π) shouldn't match Expr(:call, 2, π), does it make sense?
Expr(:call, 2, :π)
Expr(:call, 2, π)
:π
π
&π
yeah, closed.
No branches or pull requests
MWE:
it seems there is no way to eval numerics in the pattern?
The text was updated successfully, but these errors were encountered: