Skip to content
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

Use ghc-lib to support a range of GHC versions #57

Open
arybczak opened this issue May 11, 2020 · 4 comments
Open

Use ghc-lib to support a range of GHC versions #57

arybczak opened this issue May 11, 2020 · 4 comments

Comments

@arybczak
Copy link

Did you try to make it work?

Simply changing ghc dependency to ghc-lib doesn't work because of ghc-exactprint type mismatches, so presumably ghc-exactprint would also need to use ghc-lib.

@zliu41
Copy link
Collaborator

zliu41 commented Jun 6, 2020

Yeah, I don't see how apply-refact can migrate to ghc-lib unless ghc-exactprint migrates first.

@ndmitchell
Copy link
Contributor

ghc-exactprint would definitely need to migrate (or offer the option) first.

If ghc-exactprint and apply-refact were on matching versions of ghc-lib, I'd be slightly tempted to wonder if we could link in apply-refact as a library into HLint.

@zliu41
Copy link
Collaborator

zliu41 commented Sep 13, 2020

Sounds good; I raised alanz/ghc-exactprint#93.
Not sure how much work it is; I may have some time to work on it, but my time available for open source work over the next few months will be very limited.

@arybczak
Copy link
Author

Will that be possible with 9.2 now that ghc-exactprint was integrated into GHC?

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

No branches or pull requests

3 participants