elm-multiway-tree-zipper icon indicating copy to clipboard operation
elm-multiway-tree-zipper copied to clipboard

Multiple cursors support

Open bardt opened this issue 8 years ago • 2 comments

Hi! Don't you plan to add support for a zipper with multiple cursors, like described here?

I'm currently trying this package out to manage nodes selections in a tree, and I aim to provide multiple selections over time.

If you don't plan to implement this, probably you could direct me to some article or book where I can find more practical instructions on implementing such a thing. Where did you get the basis during your work on this library?

bardt avatar Jun 28 '16 04:06 bardt

Multiple cursors is an interesting concept that i still have to wrap my mind around. Thank you for sharing that blog post.

patrickdet avatar Jun 29 '16 21:06 patrickdet

I used the following resources in order to implement the base functionality I needed for just navigating and updating a tree with a single focus.

I used these resources in order to figure out what I needed. The Zipper, Gerard Huet Learn You A Haskell, Zippers, Miran Lipovaca

I did not run into any situation where multiple cursors were necessary, and have no intention to research or implement them at this time, so I can't provide any better advice than in the link you provided. If, however, you were to implement it you could either create a new library altogether, extend this one, or submit a pull request for review and integration.

tomjkidd avatar Jun 29 '16 21:06 tomjkidd