GithubHelp home page GithubHelp logo

Comments (5)

bravit avatar bravit commented on August 22, 2024

Hi Antonel, thanks for opening this issue! I've updated the stack.yaml file. Could you please check if the current version works for you?

from hid-examples.

jtonic avatar jtonic commented on August 22, 2024

Hi @bravit

It is fine now. stack build and stack test commands run without any issue.
The only thing that could improve (at least) my experience of working with haskell, would be to use another stackage, in order to have support for the vs code haskell language server.

I know that IDEs is totally another story, but, at least for me, having a decent support in the IDE (vs code) would be a tremendous good addition to the development toolbox.

In one of my learning projects I switched from LTS Haskell 17.4 (ghc-8.10.4) to LTS Haskell 16.31 (ghc-8.8.4) just to have this support.

You can see here the ghc versions currently supported by the VS code haskell extension.

https://github.com/haskell/vscode-haskell#supported-ghc-versions

Is it possible to have the stackage LTS Haskell 16.31 (ghc-8.8.4) instead of the current one (even if in a different branch)? Just if you consider this worth the effort.

Thank you.

Note:

  • This is the exception I've got with the VS code Haskell extension using the GHC version brought by the current stackage.

image

from hid-examples.

bravit avatar bravit commented on August 22, 2024

Unfortunately, there is a problem. The bug you've encountered while using Big Sur is the bug in GHC. It was fixed in ghc-9.0.1 and then backported to ghc-8.8.5 and ghc-8.10.3. You could try resolver: lts-17.2 in stack.yaml and see if it works for your setup.

from hid-examples.

jtonic avatar jtonic commented on August 22, 2024

I will try your suggestion.
Definitely the initial reported issue has been fixed. So, this issue can be closed.

Thanks again for your help.

from hid-examples.

jtonic avatar jtonic commented on August 22, 2024

Your suggestion works, and the Haskell language server has been successfully downloaded and install by vs code.

This is great. Thanks.

There is nothing stopping me now to start learning Haskell, considering that I also have an amazing companion: Haskell in depth book. ;)

from hid-examples.

Related Issues (13)

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.