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

Can this support recursive data structures? #10

Open
yatesco opened this issue Sep 2, 2021 · 0 comments
Open

Can this support recursive data structures? #10

yatesco opened this issue Sep 2, 2021 · 0 comments

Comments

@yatesco
Copy link

yatesco commented Sep 2, 2021

(I'm coming to the conclusion that graphs/trees should be stored as nodes and edges but in my ever present optimism...)

If I have a recursive structure (Node has a collection of child Nodes) can I use this library to dynamically create a lens to a nested child?

Something similar to Clojure's (update-in my-map [0 :children 6 :children 6]) to update the 7th child of the 7th child, which of course makes my-map a wizard ;-)

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

1 participant