You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(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 ;-)
The text was updated successfully, but these errors were encountered:
(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 makesmy-map
a wizard ;-)The text was updated successfully, but these errors were encountered: