Skip to content

DataKinds parse error #67

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
wdanilo opened this issue Dec 10, 2013 · 2 comments
Closed

DataKinds parse error #67

wdanilo opened this issue Dec 10, 2013 · 2 comments
Labels

Comments

@wdanilo
Copy link

wdanilo commented Dec 10, 2013

Hello! I'm getting parse error on following Haskell code:

[...]
(~^) = defFunction2 (\a b -> get1 (member (Proxy :: Proxy "pow") (get0 a)) b)
[...]

Please note, that :: Proxy "pow" is a valid Haskell expression if the Proxy was defined in the following way:

data Proxy a = Proxy

with -XDataKinds extension enabled.

The error:

Language.Haskell.Stylish.Parse.parseModule: could not parse Std.hs: ParseFailed (SrcLoc {srcFilename = "<unknown>.hs", srcLine = 23, srcColumn = 59}) "Parse error: \"pow\"
@hesselink
Copy link
Member

Datakinds is not supported yet, see #19.

@UnkindPartition
Copy link
Member

Should be fixed in HEAD now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants