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

Void and NonEmpty instances #97

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

endgame
Copy link

@endgame endgame commented Aug 17, 2021

Closes #80.
Closes #95.

  • Add instance Serialize a => Serialize (NonEmpty a), using the same binary representation as the list instance.
  • Add instance Serialize Void

I used the base changelog for the CPPs, but I don't think it's worth adding the conditional dependencies on semigroups and void to backport these instances to the stone age. Happy to wrangle that if you disagree.

@guibou
Copy link

guibou commented Aug 16, 2022

What is the status of this merge request?

@endgame
Copy link
Author

endgame commented Aug 16, 2022

@glguy I saw you did the recent update for newer GHC, do you have time to look at this?

@MatthewDaggitt
Copy link

Another ping for @glguy to say this would be very useful to be merged in.

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.

Missing instance Serialize Void Missing Serialize instance for NonEmpty a
3 participants