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

External serialization functions, plus moving of Lens functions #45

Merged
merged 3 commits into from
Oct 9, 2015
Merged

External serialization functions, plus moving of Lens functions #45

merged 3 commits into from
Oct 9, 2015

Conversation

kolektiv
Copy link
Member

@kolektiv kolektiv commented Oct 9, 2015

Fantastic changes from @neoeinstein to allow passing in externally defined fromJson and toJson members for types that you don't control - makes it much simpler to write serialization code for System.* etc. types, or any other types where you can't write the serialization in the original type assembly.

Additionally, moved Json.setLens, etc. to Json.Lens.set, which is being harmonised across libraries which provide Aether lens functionality externally (generally monadic forms of the lens functions) - Freya is also moving to this. It also makes things consistent across libraries - Lens.set for core Aether lens functions, Json.Lens.set, Freya.Lens.set, etc. in external libraries which implement compatible functions. Non-breaking for now as shims are in place with deprecation - they will be removed in the next major version.

kolektiv added a commit that referenced this pull request Oct 9, 2015
External serialization functions, plus moving of Lens functions
@kolektiv kolektiv merged commit 5b9cbe8 into xyncro:master Oct 9, 2015
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