Skip to content

ghc 9.2 wip #43

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 1 commit into from
Closed

ghc 9.2 wip #43

wants to merge 1 commit into from

Conversation

l29ah
Copy link

@l29ah l29ah commented Jun 11, 2021

re #42
i've mauled some terms in Compat to typecheck, using the relevant ghc commits as a reference, without much understanding of the semantics involved, but then i'm faced with a much bigger volume of type errors in the preprocessor itself, so i'm not sure i will complete it

@shayne-fletcher
Copy link
Collaborator

in case it helps, http://blog.shaynefletcher.org/2021/05/annotations-in-ghc.html gives a summary overview of annotations in 9.2.1

also, depending on your needs, you might get by with the native record dot syntax support offered in that release

@l29ah
Copy link
Author

l29ah commented Jun 11, 2021

I've checked the native record dot syntax, but it's really incomplete, and seemingly won't make it into 9.2 in such an useful form that record-dot-preprocessor is.

@ndmitchell
Copy link
Owner

Thanks for the code! A very useful start. Any information I could provide that would let you get any further? Or would you prefer to just stop there, and hopefully this can serve as a reference when someone else gives it a go?

@ndmitchell
Copy link
Owner

GHC 9.2 is now out, if @l29ah or someone else wants to pick this up.

edsko added a commit to well-typed/large-records that referenced this pull request Nov 2, 2021
Depends on

  - https://ghc.gitlab.haskell.org/head.hackage/
  - well-typed/generics-sop#147
  - well-typed/json-sop#6

Unfortunately, RDP does not work (WIP PR at
ndmitchell/record-dot-preprocessor#43) so it
must be disabled for the `large-records` test suite, which depends on

  - #38

Build with

```
cabal build --allow-newer=base  --allow-newer=template-haskell --allow-newer=time --allow-newer=ghc-prim
```
edsko added a commit to well-typed/large-records that referenced this pull request Nov 2, 2021
Depends on

  - https://ghc.gitlab.haskell.org/head.hackage/
  - well-typed/generics-sop#147
  - well-typed/json-sop#6

Unfortunately, RDP does not work (WIP PR at
ndmitchell/record-dot-preprocessor#43) so it
must be disabled for the `large-records` test suite, which depends on

  - #38

Build with

```
cabal build --allow-newer=base  --allow-newer=template-haskell --allow-newer=time --allow-newer=ghc-prim
```
edsko added a commit to well-typed/large-records that referenced this pull request Nov 25, 2021
Depends on

  - https://ghc.gitlab.haskell.org/head.hackage/
  - well-typed/generics-sop#147
  - well-typed/json-sop#6

Unfortunately, RDP does not work (WIP PR at
ndmitchell/record-dot-preprocessor#43) so it
must be disabled for the `large-records` test suite, which depends on

  - #38

Build with

```
cabal build --allow-newer=base  --allow-newer=template-haskell --allow-newer=time --allow-newer=ghc-prim
```
@ndmitchell
Copy link
Owner

#50 cleaned this up and finished it off, thanks all!

@ndmitchell ndmitchell closed this Jul 9, 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.

3 participants