Created
April 20, 2023 19:41
-
-
Save nicuveo/b44f28d8f76fd837831ef8cff86e3a57 to your computer and use it in GitHub Desktop.
GHC2021 RankNTypes issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- {-# LANGUAGE Haskell2010 #-} | |
{-# LANGUAGE RankNTypes #-} | |
a :: m i | |
a = x y | |
x :: (i -> forall p. p f i) -> m i | |
x l = undefined | |
y :: i -> (forall p f. p f i) | |
y = undefined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment