Comments (13)
Interesting. How can we advertise from source that haskell-mode
is available and working?
from flycheck-haskell.
em, fboundp 'haskell-mode
?
from flycheck-haskell.
Seems like manual calling of package-load-descriptor
with single argument that is the directory where haskell-mode
is gitcloned should do the trick.
from flycheck-haskell.
You can't. If you install a package through the package manager you must install all its dependencies through the package manager as well. There's no reliable way around this.
In other words, you must install Haskell Mode like you install flycheck-haskell.
Closing since this is not an issue in this library, but a configuration error.
from flycheck-haskell.
@lunaryorn: yes, you should close this issue.
Still we need to find a way as it is impossible to hack on haskell-mode
otherwise and we really need to do this.
from flycheck-haskell.
@lunaryorn feel free to close! (: so, in my case I need to install flycheck-haskell
(and flycheck
itself?) from source to resolve this?
from flycheck-haskell.
Well, you can install this library from GitHub as well. I don't support that but as Emacs developers you should be able to cope with any issues that might occur 😀
from flycheck-haskell.
Or you install Haskell Mode from MELPA as well, and then just reload it when you want to makes changes to it. That's what Emacs has eval-buffer
and friends for, and that's what I do with Flycheck.
from flycheck-haskell.
😄 well, I'm using eval-buffer
constantly. The issue is haskell-mode
tests, it picks up precompiled haskell-mode sources when doing tests, so usually tests fail. But I have easier solution: just remove all *.elc
files from haskell-mode. Anyway, thank you for clarifications, I'll stick with MELPA installation.
from flycheck-haskell.
@geraldus I'm not sure what you mean, but then I don't know how the test suite of Haskell Mode works either. But there should be a script or Makefile target or anything of that sort to run all Haskell Mode tests from a Git checkout, using the Git version. If there isn't, that's probably something that you can contribute to Haskell Mode :)
from flycheck-haskell.
@lunaryorn for example I've removed third arg from some-funciton
and updated all code where it used. Now if I'll run tests (make check
in this case) it will fail with error message alike "function some-function takes exactly 3 args, but was given only 2"
. The workaround is to remove *.elc
files from haskell-mode
folder (from where make
command ran). Excuse me for nonce noise (:
from flycheck-haskell.
@geraldus I'd argue that this is an issue in the makefile of Haskell Mode. make check
should depend on the compilation target if it uses byte code files.
from flycheck-haskell.
Noted an issue in our github issue tracker.
from flycheck-haskell.
Related Issues (20)
- flycheck-disable-checked not disabling haskell-stack-ghci HOT 6
- `flycheck-haskell-setup` signals error on Windows HOT 4
- Support for Haskell scripts made with Stack HOT 1
- Using flycheck in a docker-based stack project? HOT 1
- Bug in get-cabal-configuration.hs HOT 2
- call to stack / get-cabal-configuration delays editing file HOT 2
- IO mzero error when reading cabal configuration HOT 2
- cabal new-style builds HOT 1
- running hlint when installed using --copy-compiler-bins HOT 2
- Module ‘Distribution.PackageDescription.Parsec’ does not export ‘readGenericPackageDescription’
- Very bad performance HOT 4
- no errors HOT 7
- Paths_* modules cannot be found HOT 11
- Support hpack files directly HOT 3
- Flycheck with nix: Could not find module HOT 4
- Flycheck-haskell hangs indefinitely on NixOS HOT 6
- weird output from haskell-hlint checker HOT 2
- Support for cabal.project? HOT 1
- flycheck-haskell is very slow when stack.yaml is not pressent HOT 10
- Reference to Distribution.Parsec.Common needs to be updated for Cabal-3.0.0.0 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 flycheck-haskell.