Please log in to watch this conference skillscast.
Haskell is known for its clunky record syntax and common knowledge is that "lenses and prisms help", but the
lens library (the biggest player on the field) is notoriously hard to grasp (even for experienced Haskell developers). Presenting an alternative solution that is easier to work with (and has been successfully used in production) is key to encouraging newcomers to keep exploring the language, but making lives easier for existing Haskell developers.
The talk will focus on the
optics library (https://github.com/well-typed/optics).
Andrzej Rybczak will discuss:
lenslibrary (yet matches its power) and
He'll also discuss how
optics solves the infamous Haskell record problem in a satisfactory way (with the help of OverloadedLabels extension) and why the approach doesn't compete with the incoming RecordDotSyntax extension, but rather complements it.
YOU MAY ALSO LIKE:
User Friendly Optics
Andrzej Rybczak is a professional Haskell developer with 10 years of experience and author/contributor of multiple open source Haskell libraries used in production (notable examples: optics, log-base, hpqtypes). He has also contributed patches to GHC. His hobbies include walking among nature and dancing.