-
Notifications
You must be signed in to change notification settings - Fork 126
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
Problems with recursion and numeric constraints #1537
Comments
The way to write this with without numeric constraints is:
|
@ramsdell you are missing the argument to
This fails because Cryptol doesn't know that #1381 is related to this issule |
Another issue is that you've defined the function for |
Yeah, there was a bit of sloppiness last night. Here is the example that works.
|
I am playing with the new numeric constraints. I'm trying to write a very silly version of copy that uses recursive descent. However, the obvious way of using numeric constraints fails to type check. I tried other permutations of type annotations, but they all failed. Here is the function:
The text was updated successfully, but these errors were encountered: