On Monday, May 19, 2014 8:10:14 PM UTC-7, Scott Thompson 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?
I've been thinking about exactly this. Haven't had a chance to experiment with it yet though. If you get something working you should DEFINITELY consider posting your findings here. -- 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.
