I was looking for something like this, found this thread, and tried my hand
implementing a Zipper Cursor.
It's my first time digging into the om internals, so my thinking might be a bit
off.
https://gist.github.com/minikomi/15a58adbaaa28bacd953
Some notes -
* I hit a problem trying to allow
On Saturday, May 24, 2014 1:21:48 PM UTC-7, Scott Thompson wrote:
> The problem I've been thinking about is that Om manages a path in a vector
> format for use with functions like get-in whereas zippers use a location to
> represent a path. So its not yet clear to me if that will translate well i
The problem I've been thinking about is that Om manages a path in a vector
format for use with functions like get-in whereas zippers use a location to
represent a path. So its not yet clear to me if that will translate well into
Om. Additionally, zippers allow easy traversal of a tree which migh
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. M