Closed idubrov closed 4 years ago
This functionality would be helpful for "recursive" data structures represented via trees where you sometimes need to return back to the "root" from leaf nodes.
Updated; not sure what kind of tests should I write, so I just did pretty much the same test as in doctests.
Thanks again :+1: The feature added is great, might just change one of the tests :)
Adding support for
map_with_owner
which is the same as regularmap
, but also gives a reference to the owner itself.