lens: from the ground up (in clojure)

42d9867a0fee0fa6de6534e9df0f1e9b?s=47 Mark Hibberd
February 27, 2014

lens: from the ground up (in clojure)

A look at functional lenses in general, and how they would work in an uni-typed language like clojure. This talk walks through why lenses are useful, how to encode lenses, and builds up a small lens library in clojure.

The demonstration code is available at https://github.com/markhibberd/lens-talk-clojure (see lens/script.org src/*.clj)

This talk is derived from a more in-depth presentation into the haskell "lens" library: https://speakerdeck.com/markhibberd/lens-from-the-ground-up

42d9867a0fee0fa6de6534e9df0f1e9b?s=128

Mark Hibberd

February 27, 2014
Tweet