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

clkao opened this Issue Oct 30, 2012 · 1 comment


None yet
3 participants

clkao commented Oct 30, 2012

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

should work

@gkz gkz closed this in a4f3379 Oct 30, 2012


This comment has been minimized.


vendethiel commented Nov 15, 2012

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