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 coerce instead of fmap Down/fmap unDown #130

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

konsumlamm
Copy link
Collaborator

Closes #97.

The only coerce that actually changes the generated core significantly is the one in mapMaybe, but IMO using coerce makes it clearer that the conversion is free.

@konsumlamm konsumlamm changed the title USe coerce instead of fmap Down/fmap unDown Use coerce instead of fmap Down/fmap unDown Aug 7, 2023
@konsumlamm konsumlamm merged commit 781aa57 into lspitzner:master Sep 7, 2023
11 checks passed
@konsumlamm konsumlamm deleted the coerce branch September 7, 2023 23:42
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.

Use coerce instead of fmap unDown/fmap Down
1 participant