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
makeClosedAlpha
So we can do
data T = A | B | C deriving (Eq, Ord, Show) $(makeClosedAlpha ''T)
but we could also want
data T a where A :: Int -> T Int B :: Bool -> T Bool C :: Char -> T Char deriving instance Eq (T a) deriving instance Ord (T a) deriving instance Show (T a) $(makeClosedAlpha ''T)
which doesn't work right now because it makes the following instance declaration
instance Alpha T
instead of the kind-correct
instance Alpha (T a)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
So we can do
but we could also want
which doesn't work right now because it makes the following instance declaration
instead of the kind-correct
The text was updated successfully, but these errors were encountered: