Substrate

#affine #optics #elviro-rocca
Elviro Rocca’s “Advanced Swift Optics” talk
Elviro Rocca’s “Advanced Swift Optics” talk
Functional optics, like lenses and prisms, are incredible tools for manipulating data structures in a declarative and composable way. Let’s take a deep dive into functional optics in Swift. In this talk we’ll explore more optic types than just Lens and Prism, and unlock their ability to compose at multiple levels. We’ll then leverage composition to operate on complex data structures, avoid Optional handling with the Affine optic, and explore more sophisticated usages that go beyond data manipulation.
·youtube.com·
Elviro Rocca’s “Advanced Swift Optics” talk