Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make Fake type synonym partially applied #45

Merged

Conversation

ivanbakel
Copy link
Contributor

Small QoL issue I noticed when using Fake.

Since GHC forces type synonyms to have all their arguments everywhere by
default, `Fake` having an unnecessary argument made it harder to use -
for example, `ReaderT r Fake a` was not valid code, because `Fake` was
missing its argument, despite that being a valid and useful monad stack.

This makes the synonym partially applied so GHC won't complain that it's
missing arguments.
@psibi
Copy link
Member

psibi commented Mar 2, 2022

Thanks, can you update the changelog too (with a new heading 1.0.3 (Unreleased)) ?

@ivanbakel
Copy link
Contributor Author

Should I bump the package version as well?

@psibi
Copy link
Member

psibi commented Mar 2, 2022 via email

@psibi psibi merged commit 1da4d13 into fakedata-haskell:master Mar 6, 2022
@psibi
Copy link
Member

psibi commented Mar 6, 2022

Thank you!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants