-
Notifications
You must be signed in to change notification settings - Fork 109
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
Prolems with GHC/Desugar.jsmod #11
Comments
Here is a small example source file:
Compiler output:
|
This is indeed a bug, one caused by the way the base libraries are built. At present, buildlibs.sh handles that part manually and only the most common modules are included. I'm currently working on a way to integrate cabal with Haste and then just cabal install base and ditch buildlibs.sh, which will solve the problem nicely. I''ll also push an emergency fix for your issue on Sunday or Monday (I'm currently visiting relatives). If you want, you can (most likely) create an emergency fix for yourself by downloading the source for GHC 7.4.x, cd:ing to libraries/base and running |
Thanks for the reply! When I do "hastec --libinstall -O2 Control.Arrow GHC.Desugar" I get:
Mmh, can I prevent him from compiling? GHC/Float.lhs? |
How do I in general install libraries? I am trying to use vector space, which fails with:
So I am unpacking vector space, cd ing in its root and try:
|
Apparently, GHC.Desugar isn't as friendly to stand-alone building as I imagined, it needs a bunch of special flags and a partial GHC build, it seems. I'm working on it. As for installing modules in the general case, just drop the trailing |
This implementation will error out whenever a code path blocks on an MVar, as the non-concurrent environment guarantees that no other thread will come along to unblock the MVar. This commit fixes half of #11.
In case anybody else that stumble here is wondering, the problem causing that is that the implicit prelude import in |
Hey,
When I try to compile a program in which I use arrow syntax, I get:
The file does indeed not exist.
I am node 100% sure, but I think the problem occurs when I use arrow syntax in my program.
The text was updated successfully, but these errors were encountered: