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
Code like
instance iMaybeHashable : ⦃ i : Hashable a ⦄ → Hashable (Maybe a) iMaybeHashable {{_}} .hash Nothing = MakeHash ∘ hashBytes $ hash iUnitHashable tt iMaybeHashable {{i}} .hash (Just x) = MakeHash ∘ hashBytes $ hash iPairHashable (tt , x) {-# COMPILE AGDA2HS iMaybeHashable #-}
becomes the uncompilable
instance (Hashable a) => Hashable (Maybe a) where hash Nothing = MakeHash . \ r -> hashBytes r $ hash () hash (Just x) = MakeHash . \ r -> hashBytes r $ hash ((), x)
instead of the correct
instance (Hashable a) => Hashable (Maybe a) where hash Nothing = MakeHash . (\ r -> hashBytes r) $ hash () hash (Just x) = MakeHash . (\ r -> hashBytes r) $ hash ((), x)
The text was updated successfully, but these errors were encountered:
Our current pretty-printing library is not very consistent with parenthesis, @flupe has suggested we change to ghc-src-gen: #274
Sorry, something went wrong.
[ fix agda#317 ] Add parens around infix where left argument is anoth…
c006900
…er infix with lambda RHS
df7978f
[ fix #317 ] Add parens around infix where left argument is another i…
5f09f42
…nfix with lambda RHS
jespercockx
Successfully merging a pull request may close this issue.
Code like
becomes the uncompilable
instead of the correct
The text was updated successfully, but these errors were encountered: