Releases: typelift/Focus
Releases · typelift/Focus
van Laarhoven's Luck
The Grand Illusion
Focus now supports Swift 3.1
Miller's Rule
Focus now supports Swift 3.0 and Xcode 8 as well as the Swift Package Manager and a Linux build.
Reading Glasses
- Focus now supports Swift 2.2
- An implementation of
Setter
s has graciously been contributed by (@r-peck). Thanks!
Transition Lenses
Focus now supports watchOS and tvOS
Monomorphological Awareness
- Monomorphic aliases for each type has been added in the form of
Simple*
structs. - Updates operator definitions.
Protoopalina Generalis
This release extracts the Lens Family into a number of protocols and protocol extensions to enable more general future versions of Focus
.
I Can See Clearly Now
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.