-
Notifications
You must be signed in to change notification settings - Fork 76
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
Add support for nested mutual blocks again #48
Comments
I did not have time to react before, but this might be an issue
|
Do you have an example that requires multiple levels of nested mutual The only examples we have so far only required one level and seem to work On Jul 29, 2016 15:40, "coquand" [email protected] wrote:
|
What do you mean by “multiple levels of nested mutual blocks”? The example I had in mind was something like mutual data V = n | pi (x:V) (f:El x -> V) El : V -> U = split Thierry
|
That works just fine. The problem is when you have nested mutual blocks:
If you input this the resolver will just crash. I can make it not crash, or if there is some interesting example that needs |
Maybe I misunderstood: is this connected to the optimisation suggested by Guillaume
|
I faced a problem of nested mutuals and here is my example which is an extended version of @coquand's example of IR encoding.
Here you can see, that in
|
The PR #44 breaks support for nested mutual blocks.
The text was updated successfully, but these errors were encountered: