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

Documentation #1

Open
kwijibo opened this issue Jan 19, 2016 · 2 comments
Open

Documentation #1

kwijibo opened this issue Jan 19, 2016 · 2 comments

Comments

@kwijibo
Copy link

kwijibo commented Jan 19, 2016

I realise this lib is very very young, but I'm looking forward to even the briefest documentation explaining the concepts (beyond view over and set)

@DrBoolean
Copy link
Collaborator

Might have already seen, but all i have so far is this: https://medium.com/@drboolean/lenses-with-immutable-js-9bda85674780

@polytypic
Copy link

@kwijibo I hope you don't mind my intrusion, but if you are interested in documentation that might help you to understand the scope and utility of optics, then my optics library, partial.lenses, has fairly thorough documentation. The library provides similar concepts, namely isomorphisms, lenses, and traversals, but with somewhat different, partial, semantics. My library also differs somewhat from this library in that my library doesn't explicitly provide some related concepts such as prisms, folds, setters and getters. Where appropriate, those are instead treated as degenerate forms of partial isos, lenses and traversals and despite not having those concepts explicitly, the expressive power seems comparable. The documentation is also provided in an interactive form where you can edit code samples in your browser and immediately see the result. The page can take quite some time to load due to the large number of editable snippets: https://calmm-js.github.io/partial.lenses/

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

No branches or pull requests

3 participants