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

Add index entry for GHC-25955 #516

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

cbrt-x
Copy link

@cbrt-x cbrt-x commented Jun 8, 2024

Closes #216

@@ -0,0 +1,7 @@
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE ExplicitForAll #-}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is technically correct, although you almost never want to enable the syntax extension ExplicitForAll just for the sake of it. Most likely the very next error message from GHC will complain about missing ScopedTypeVariables or RankNTypes. This is probably something worth to discuss in index.md.

Also worth mentioning that GHC2021 / GHC2024 enable this extension by default.

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

Successfully merging this pull request may close these issues.

PsErrExplicitForall -> 25955
3 participants