Skip to content
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

match for literal -1 does not compile #194

Closed
clkao opened this issue Oct 30, 2012 · 1 comment
Closed

match for literal -1 does not compile #194

clkao opened this issue Oct 30, 2012 · 1 comment

Comments

@clkao
Copy link
Contributor

clkao commented Oct 30, 2012

match it
| -1 => -1
| otherwise => 0

should work

@gkz gkz closed this as completed in a4f3379 Oct 30, 2012
@vendethiel
Copy link
Contributor

Is there a way to mean a no-callee ? Like this :

match a
| i+0 => 2
| +i => 1
| ~b => true 

or something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants