Giter Site home page Giter Site logo

Comments (5)

gracjan avatar gracjan commented on September 23, 2024

Note:

Until this is done I'm using this diff:

-  :command ("ghc" "-Wall" "-fno-code"
+  :command ("ghc" "-Wall"
+            "-no-link" "-outputdir" "/tmp/flycheck-haskell" "-O0"

This has the following properties:

  • caches results from checking to checking, greatly speeding up interaction
  • enables template haskell

Of course /tmp/ should be changed to proper TMPDIR derived variable, but otherwise this change fixes problems with flycheck and bigger projects.

from flycheck-haskell.

latkins avatar latkins commented on September 23, 2024

@gracjan I'm having the same issues with template haskell as you are, and have attempted to use the change you posted above. This has not worked for me - could you provide some more information about how you use it?

from flycheck-haskell.

gracjan avatar gracjan commented on September 23, 2024

I have done some more work in this department and have a rebased changes somewhere. I need to clean them up a little and resubmit. I hope to get there rather soon.

Meanwhile, can you copy&paste output of flycheck-compile? That would help to see if you are hitting same issue or something else.

from flycheck-haskell.

latkins avatar latkins commented on September 23, 2024

@gracjan I managed to get your original diff to work now - I had forgotten to recompile to emacs bytecode. I would be interested in seeing your updated changes, though!

from flycheck-haskell.

swsnr avatar swsnr commented on September 23, 2024

Closing in favour of #45

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.