News for hackers. Stuff that matters.
Re:Functional-navigational programming in Clojure with Specter by skratlo on Tuesday September 29, 2015 @05:51AM (#10295322)
Exactly what I thought, either lens or zippers.
Re:Functional-navigational programming in Clojure with Specter by tel on Tuesday September 29, 2015 @12:05PM (#10297265)
Definitely more lens than zipper. If you think of a lens, in simple form, as a path into a structure then a zipper is a structure plus a path into itself. This constrains the form that a zipper can take.

If you examine these paths on their own then you get into general "optics" which is where the lens type lives and where specter lives (it seems). In particular, we start talking about generalized folds and traversals.