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

Adapt for GHC 9.2.1 #273

Merged
merged 5 commits into from
Oct 31, 2021
Merged

Adapt for GHC 9.2.1 #273

merged 5 commits into from
Oct 31, 2021

Conversation

bgamari
Copy link
Member

@bgamari bgamari commented Oct 31, 2021

This adapts all of the cborg packages to compile with GHC 9.2.

This depended upon the fact that previously the lifted sized integral
types (e.g. `Int8`) were represented internally by the unsized unlifted
integral types (e.g. `Int#`). With GHC 9.2 this is no longer true.

Consequently, it is easier to just rely on the lifted types and rely
upon the compiler to worker-wrapper away the boxes. I have verified that
with GHC 8.10.7 the simplified Core produced is equivalent up to
alpha-renaming.
Accomodate GHC 9.2, aeson 2.0, time .13.
Compatibility with pre-TypeInType is hard due to the lack of
Data.Kind.Type.
@bgamari bgamari mentioned this pull request Oct 31, 2021
@bgamari bgamari marked this pull request as ready for review October 31, 2021 19:43
@bgamari bgamari merged commit db7e948 into well-typed:master Oct 31, 2021
@bgamari bgamari deleted the wip/bumps branch October 31, 2021 20:16
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.

1 participant