Any guidance you could provide for me to get started on this? Would you imagine it looking similar to the other 2 implementations of Om cursors (MapCursor and IndexedCursor)? It looks like these types implement quite a few interfaces and I guess Im not totally sure which are required for a cursor to work properly.
On Tuesday, 20 May 2014 11:37:03 UTC-4, David Nolen wrote: > Should be doable, let me know if you run into issues that make this overly > difficult. > > > David > > > > On Mon, May 19, 2014 at 11:10 PM, Scott Thompson <[email protected]> wrote: > > I've been thinking about using a clojure zipper > (http://richhickey.github.io/clojure/clojure.zip-api.html) as input to > om/root. This would give some convenient properties like being able to > traverse my data and make edits. My data is tree like in structure already so > using a zipper seems like a good fit. > > > > > To do something like this I don't think will work out of the box though > (since cursors are only implemented for map and vector structures in the core > package). I haven't looked much at the Om internals to know if implementing a > 'ZipperCursor' would be challenging or not... but thought I would ask here if > anyone has any thoughts? > > > > > -- > > Note that posts from new members are moderated - please be patient with your > first post. > > --- > > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To post to this group, send email to [email protected]. > > Visit this group at http://groups.google.com/group/clojurescript. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
