ghc-mod
ghc-mod copied to clipboard
Happy Haskell Hacking for editors. DEPRECATED
We've had this limitation for quite a while and people seemed not to be too bothered by it, but with the appearance of Stack this quickly escalated because now people...
Probably has something to do with map-file. ``` % ghc-mod root /home/dxld/share/dev/hs/ghc-mod % boot ... O: OK % map-file /home/dxld/dev/hs/ghc-mod/Language/Haskell/GhcMod.hs CONTENTS + EOT O: OK % check /home/dxld/dev/hs/ghc-mod/Language/Haskell/GhcMod.hs % ghc-mod...
It's not too bad on the below testcase, but in a larger file (90 lines) ghc-mod takes longer than my patience to terminate. ``` $ ghc-mod --version ghc-mod version 5.9.0.0...
Often ghc-mod seems to rebuild more than necessary because it's passing a different set of flags to ghc then those that were originally used to build the dependencies. How can...
``` Failures: test\BrowseSpec.hs:33: 1) Browse, `browse' in a project directory, can list symbols defined in a a local module [] does not contain ["foo"] test\CabalHelperSpec.hs:52: 2) CabalHelper.getComponents handles sandboxes correctly...
``` Failures: test\BrowseSpec.hs:33: 1) Browse, `browse' in a project directory, can list symbols defined in a a local module [] does not contain ["foo"] test\CabalHelperSpec.hs:52: 2) CabalHelper.getComponents handles sandboxes correctly...
Editing any file in this repo https://github.com/vasily-kirichenko/haskell-book (for example, this one https://github.com/vasily-kirichenko/haskell-book/blob/master/src/SemigroupsAndMonoids.hs) in Atom (haskell-ide / repl / autocomplete / hasktags / pointful / pointfree plugins) causes `ghc-mod` process to...
I created a stack project with two modules `Lib` and `Dep`; `Lib` imports `Dep`. I added `ghc-options: -Werror` to the cabal file. `Lib` is in `exposed-modules` `Dep` is in `other-modules`...
``` ghc-mod: $HOME/.stack/snapshots/x86_64-linux/lts-2.22/7.8.4/pkgdb/package.cache: GHC.PackageDb.readPackageDb: inappropriate type (not a ghc-pkg db file, wrong file magic number) ``` Doing `stack ghc -- --version` on every run seems too slow can't think of...