Skip to content
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

comonad-5.0.1 fails to build with GHC 9.0 #61

Closed
Bodigrim opened this issue Jun 18, 2022 · 1 comment
Closed

comonad-5.0.1 fails to build with GHC 9.0 #61

Bodigrim opened this issue Jun 18, 2022 · 1 comment

Comments

@Bodigrim
Copy link

Bodigrim commented Jun 18, 2022

Building library for comonad-5.0.1..
[ 1 of 15] Compiling Control.Comonad

src/Control/Comonad.hs:198:13: error:
    Suffix occurrence of @. For an as-pattern, remove the leading whitespace.
    |
198 |   extend f w@ ~(_ :| aas) = f w :| case aas of
    |

Could you please put a revision?
(I did not check other versions)

Upd.: Same for comonad-5.0.4 and comonad-5.0.5.

@RyanGlScott
Copy link
Collaborator

Thanks for the heads-up. I've applied base < 4.15 revisions for all versions of comonad that contain the w@ ~(_ :| aas) code, including versions 5.0.1, 5.0.4, and 5.0.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants