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 codec-argonaut instead of argonaut-codecs #72

Merged
merged 4 commits into from Oct 8, 2020

Conversation

thomashoneyman
Copy link
Owner

This PR migrates Real World Halogen to use codec-argonaut (https://github.com/garyb/purescript-codec-argonaut) instead of the typeclass-based argonaut-codecs. Gary has written about the issues with typeclass-based codecs and, despite their convenience, at both CitizenNet and Awake Security we've ended up moving away from the type classes.

Since the profunctor-based codecs are the better choice for most applications I've switched Real World Halogen to use them. I haven't had as much time to dedicate to this as I would like so I've missed some easy opportunities to make the code a little nicer. Still, I thought it was important to switch as soon as possible to serve as an example.

@thomashoneyman thomashoneyman merged commit 592eab6 into main Oct 8, 2020
@thomashoneyman thomashoneyman deleted the argonaut-codecs branch October 8, 2020 00:19
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.

None yet

1 participant