Skip to content

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