Skip to content
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

Compile errors on GHC 7.7 ? #28

Closed
mstksg opened this issue Jan 18, 2014 · 2 comments
Closed

Compile errors on GHC 7.7 ? #28

mstksg opened this issue Jan 18, 2014 · 2 comments

Comments

@mstksg
Copy link
Contributor

mstksg commented Jan 18, 2014

I'm using the vagrant buildpack recommended by the ghcjs 'team' https://github.com/ghcjs/ghcjs

They have a version of GHC 7.7 installed apparently. Most libraries I have tried to install compile, but it doesn't seem to like linear (both in "normal" ghc and ghcjs)

The problem occurs for both when compiling Linear.V --- there are two errors:

src/Linear/V.hs:83:10:
    Not in scope: type constructor or class 'KnownNat'

src/Linear/V.hs:84:30: Not in scope: 'natVal'

Is this a known issue/has this popped up before? This happens when both using the hackage version and the HEAD version from github of Linear.

@bgamari
Copy link
Collaborator

bgamari commented Jan 21, 2014

My personal GHC build (not built with vagrant) seems to work fine so I'd say the problem is likely the vagrant setup.

@glguy
Copy link
Collaborator

glguy commented Mar 6, 2014

Between bgamari's post a month ago and my attempt with GHC 7.8.1-rc2, and mstksg's patch it seems like builds are working just fine with new GHC and current versions of linear.

Please reopen the issue with more details if there is still a problem.

@glguy glguy closed this as completed Mar 6, 2014
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

3 participants