Skip to content

Conversation

RyanGlScott
Copy link
Member

In order to facilitate the use of FromJSON1 and ToJSON1, I introduced some infelicitous code in #414. Namely, gToJSON/gToEncoding/gFromJSON now requires passing around a Proxy argument and two undefined values everywhere. To make this a little nicer, I introduce two new data types, ToArgs and FromArgs, which subsume the need for Proxys, and only contain function arguments if necessary.

@bergmark bergmark merged commit d1b468c into haskell:master Jun 23, 2016
@bergmark
Copy link
Collaborator

LGTM Thanks! 🎉

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.

2 participants