Skip to content

Rollup edits #1

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 17 commits into from
Closed

Rollup edits #1

wants to merge 17 commits into from

Conversation

parsonsmatt
Copy link

This PR contains the edits to haskell-language-server we're using in mwb

wz1000 and others added 17 commits May 25, 2022 17:34
Add a `.hi.core` file format to which we serialize out compiled core after generating it.
This core is then read back in on subsequent runs and compiled to bytecode.

This greatly speeds up startup times when we need compilation, as we can simply read bytecode
off the disk instead of having to recompile a lot of modules

This is based off Fat Interface files in GHC: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/7502
Motivation is to be able to sub-in our own GHC version, and I don't know
how to / if it's possible to do that when everything is defined inside a
flake. Ideally would have the flake use existing non-flake definitions.
Currently uses the .mwb suffix for haskell packages; should remove that
or abstract it.
@parsonsmatt
Copy link
Author

Upstream PR for fourmolu 0.7 support haskell#2944

@9999years
Copy link
Member

Most of these changes have been upstreamed. The rest are being merged here: #2

@9999years 9999years closed this Jun 27, 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.

6 participants