Skip to content

Upgrade Haskell Template to use modern tools and language server. #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 12 commits into from

Conversation

mikevdg
Copy link

@mikevdg mikevdg commented Jun 14, 2022

Upgrade this template to use more recent versions of the Haskell compiler and tools.

Make the haskell-language-server work. This enables full IDE functionality.

This pull request has an entirely new template built using stack new. It is configured to download one version of the GHC compiler using ghcup and use it for both stack and haskell-language-server.

Related Issue(s)

Fixes #

How to test

Create a new Gitpod.io project using this template. (Note that the button in README.md still refers to the original.)

Check that hovering the mouse over a function gives you documentation (i.e. the language server is running).

Check that running "stack run" succeeds and prints "someFunc" on the terminal.

Check that "ghcup" is available as a command.

Release Notes

Change the Haskell template to use `ghcup` and make the language server functional.

Documentation

@mikevdg
Copy link
Author

mikevdg commented Jun 14, 2022

I just noticed that .travis.yml refers to an old version of GHC. I'm assuming this file is for CI, but that's the full extent of my knowledge. I'll investigate.

@sagor999 sagor999 requested review from ghuntley and sagor999 June 14, 2022 01:36
@lsmor lsmor mentioned this pull request Jun 18, 2022
@sagor999
Copy link
Contributor

Closing in favor of #4

@sagor999 sagor999 closed this Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants