Skip to content

Iterating without a tree #133

Open
Open
@cake-duke

Description

@cake-duke

I've read the docs but I haven't been able to find an answer to my question.

I would like to understanding the following. I have a mutable struct and a few functions defined on it that mutate in the same structure of a tree. I.e. I have a "movetoparent!(obj)" function, and a "movetochild!(obj, i)" function. Can I use AbstractTrees.jl to walk a tree in this case?

I've asked this question on discourse, where I go into more details

https://discourse.julialang.org/t/abstracttrees-iterating-without-a-tree/96339

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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