1. 5
  1.  

  2. 4

    You can turn these into optics like what the Haskell lens library supports. This provides a benefit of composition. An example is Optika.

    1. 1

      While ramda does have some lens capabilities (see http://ramdajs.com/docs/#lens – should this have been included?), I didn’t know about Optika – very cool.

      edit: I plan on doing a full writeup on using lenses to transform data, so I will at least cover them there.