Giter Site home page Giter Site logo

Comments (13)

gracjan avatar gracjan commented on September 23, 2024

Interesting. How can we advertise from source that haskell-mode is available and working?

from flycheck-haskell.

geraldus avatar geraldus commented on September 23, 2024

em, fboundp 'haskell-mode?

from flycheck-haskell.

gracjan avatar gracjan commented on September 23, 2024

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.

swsnr avatar swsnr commented on September 23, 2024

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.

gracjan avatar gracjan commented on September 23, 2024

@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.

geraldus avatar geraldus commented on September 23, 2024

@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.

swsnr avatar swsnr commented on September 23, 2024

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.

swsnr avatar swsnr commented on September 23, 2024

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.

geraldus avatar geraldus commented on September 23, 2024

😄 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.

swsnr avatar swsnr commented on September 23, 2024

@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.

geraldus avatar geraldus commented on September 23, 2024

@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.

swsnr avatar swsnr commented on September 23, 2024

@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.

gracjan avatar gracjan commented on September 23, 2024

Noted an issue in our github issue tracker.

from flycheck-haskell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.