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

Iterating without a tree #133

Open
cake-duke opened this issue Mar 24, 2023 · 0 comments
Open

Iterating without a tree #133

cake-duke opened this issue Mar 24, 2023 · 0 comments

Comments

@cake-duke
Copy link

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

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