Skip to content

Conversation

@expipiplus1
Copy link

Fixes #23

cons <- traverse makeCons (D.datatypeCons info)
let unkindToVar = \case
VarT v -> pure $ PlainTV v ()
SigT (VarT v) _k -> pure $ PlainTV v ()
Copy link
Author

Choose a reason for hiding this comment

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

This feels a little weird, it's a shame we don't get a TyVarBndrVis...

@expipiplus1
Copy link
Author

This also requires PolyKinds, could probably be written to be more flexible I guess

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deriving HNodes (and friends) fails in the presence of PolyKinds

1 participant