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

Unlifted types and defaults for primitive types #9

Merged
merged 11 commits into from
Jul 17, 2024

Conversation

Benjamin-McRae-Tracsis
Copy link

No description provided.

Benjamin added 5 commits July 16, 2024 12:05
…sewhere and resolve it before continuing. if we have a general type constructor, normalize it and check that it is unlifted (which I think can only happen if it's a newtype)
@Benjamin-McRae-Tracsis
Copy link
Author

@TeofilC if you want to have a look; I'll mess with versions as and when

Comment on lines 77 to 78
defaultContextOverride :: M.Map TH.Name (Maybe [Strictness])
defaultContextOverride = M.fromList

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change name to reflect that these aren't overriding anything, they can just be baseOverride

@Benjamin-McRae-Tracsis Benjamin-McRae-Tracsis changed the title Primop defaults Unlifted types and defaults for primitive types Jul 16, 2024
@TeofilC
Copy link
Collaborator

TeofilC commented Jul 16, 2024

LGTM

@Benjamin-McRae-Tracsis Benjamin-McRae-Tracsis marked this pull request as ready for review July 17, 2024 08:04
@dten dten merged commit f41bd29 into tracsis:main Jul 17, 2024
5 checks passed
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