-
Notifications
You must be signed in to change notification settings - Fork 322
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
Type suggested in exercise Bin-isomorphism does not compile. #1003
Comments
Thanks, Norman. Why weren't you using both If you submit a pull request with text or code changes that would have saved you confusion, I'll be happy to consider it. (In general, the fact that chapters define their own code incompatible with the library code is a persistent problem throughout PLFA. In Lean, they use a style where each code snippet has its own separate imports. That might be one way around the problem, except that Agda has no support for that style.) |
I used both the A sample error message:
|
I just ran into this too. Thanks for the explanation @nrnrnr . It looks like the type compiles if I use
|
In the Quantifiers chapter, the proj₁ imported from Data.Product
is not compatible with the Σ defined in the chapter. But in
exercise Bin-isomorphism, it is suggested to prove a lemma of this
type:
Because of the incompatibility in proj₁, the type will not
compile.
I was not able to figure out this issue until I had completed all
of Part 1.
The text was updated successfully, but these errors were encountered: