Focus v0.0.1 Release Notes
Release Date: 2015-07-05 // over 8 years ago-
Focus is an Optics library for Swift that includes
Lens
es,Prism
s,Iso
s, and the underlying Indexed Monads and Comonads that make it all happen.The Lens family is a useful way of describing first-class traversals, references, and relationships between data structures and their component parts. In Swift, this presents a fantastic opportunity to recast setters and getters of even mutable objects as immutable views.