Skip to content

Support KindSignatures #70

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

Closed
ndmitchell opened this issue Dec 26, 2013 · 2 comments
Closed

Support KindSignatures #70

ndmitchell opened this issue Dec 26, 2013 · 2 comments

Comments

@ndmitchell
Copy link
Contributor

As raised in an HLint bug: https://code.google.com/p/ndmitchell/issues/detail?id=630

{-# LANGUAGE GADTs, DataKinds, KindSignatures #-}
module HLTest where
data Nat = Z | S Nat
data Shrunk (n :: Nat) a where
  H :: int -> Shrunk (S n) a

Parsing fails.

@hesselink
Copy link
Member

I don't think this is because KindsSignatures aren't supported (they seem to parse fine here). The unsupported part is DataKinds, see #19.

@ndmitchell
Copy link
Contributor Author

In that case #19 and #67 subsume this error, so I'll close this one.

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

No branches or pull requests

2 participants