Open
Description
Moved from TODO note in docs in user guide.
Our map-node and namespaced-map-node model the structure of the source code.
This is convenient when navigating through nodes as one would through source.
But... when we want to logically treat any map as a map the difference is a bit awkward.
I was thinking a protocol for map nodes, but this would only be useful for the non-zipper (direct node) user:
(get-map-children n)
(replace-map-children n)
?
So... not sure what might help.
In a previous experiment, I modeled all maps the same, but this made dealing the space that can occur after the namespaced map prefix inconsistent with the rest of the whitespace treatment in rewrite-clj.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status