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
Morel should allow functions to refer to each other when declared using and. The following expression succeeds in Standard ML:
and
let fun half x = if x > 3 then (prev x) div 2 else x and prev x = if x > 10 then half (x - 3) else x in half 14 end; = val it = 1 : int
but in Morel it currently gives
unbound variable or constructor: prev
The text was updated successfully, but these errors were encountered:
Fixed in 68b5221.
Sorry, something went wrong.
No branches or pull requests
Morel should allow functions to refer to each other when declared using
and
. The following expression succeeds in Standard ML:but in Morel it currently gives
The text was updated successfully, but these errors were encountered: