Skip to content

Can this support recursive data structures? #10

@yatesco

Description

@yatesco

(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 ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions