Comments (10)
This problem can be fixed if we can specify "-package ghc", right?
If so, I can hack so that the option is automatically specifiedy if "import GHC" is found.
But it seems to me that linking the ghc library is very slow. Is it OK for you?
from ghc-mod.
I think it's better to be slow than to just fail.
does ghc-mod keep a server process around, or is a new one started each time? you might be able to avoid the cost by keeping a pre-loaded server around.
from ghc-mod.
A new one started each time.
Just a question. Can we use GHC as a server?
from ghc-mod.
I think so - scion http://code.google.com/p/scion-lib/ starts up a scion-server process.
from ghc-mod.
OK, I will look. Thank you for the information.
Since I'm very busy right now, I will come back to this issue on 23 April or so.
from ghc-mod.
Current ghc-mod does not choke any lines if GHC module is used (not check any errors/warnings). Even if GHC API is used, checking a file with GHC modules is very slow. We need to consider special UI for the files using GHC modules so that only manual check is allowed.
from ghc-mod.
Preventing linking results in confortable speed for -package ghc!
from ghc-mod.
Heh. Great. you're using the ghc-API? I think there's an -fno-code option if you're just calling ghc.
from ghc-mod.
Ah! I remember the option! I set the option in GHC API.
from ghc-mod.
working great.
from ghc-mod.
Related Issues (20)
- ghc-mod fails with "unknown command: needs-build-output"
- cabal install ghc-mod error HOT 6
- ghc802 branch has 21 failures on Windows HOT 3
- GHC 8.4.1 support HOT 10
- master branch has 21 test failures on Windows
- Type errors in GhcMod.Gap HOT 1
- ghc-mod takes a very long time checking a module with a module annotation HOT 2
- GHC panic when using QuasiQuotes HOT 3
- Dynamic linker not initialised HOT 2
- Failing to build ghc-mod with stack HOT 7
- The impossible happened HOT 1
- Not possible to install ghc-mod on Windows HOT 4
- I followed all the instructions mentioned in "Installing ghc-mod" with stack but it had some issues HOT 3
- Panic HOT 1
- Unable to build ghc-mod with the current/recent setup
- DeriveAnyClass language extension
- ghc-mod takes a very long time to check a module using template haskell in a project depending on haskell-src-exts HOT 1
- ghc-mod has parse error on `--*`
- impossible to install ghc-mod for ghc 8.6 HOT 2
- About error of stack install ghc-mod HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghc-mod.