#profunctors#lenses#purescript
Phil Freeman - Fun with Profunctors
13K subscribers • 3 videos on Hallway
- Recommended by 1 person: 1 in engineering communities.
- Presented by Phil Freeman
- Linked in the descriptionzrho/purescript-optic-uipaf31/purescript-thermite
Advanced. Deep dive for people who know the field.
17K views10 years ago1 recommendation
Programming languagesSoftware designHaskellFunctional programmingDesign patterns
Phil Freeman introduces profunctor optics, explaining how they generalize lenses, prisms, and traversals with practical examples.
Van Laarhoven lenses have become an indispensable part of the Haskell programmer's toolbox, and a powerful abstraction tool. However, it can be difficult to get a handle on this implementation of lenses. The Profunctor type class provides another motivation for this style of programming, and one which generalizes nicely to related concepts like Prisms and Traversals. In this talk, Phil will give an introduction to profunctor optics, with plenty of examples. profunctors: hackage.haskell.org/package/profunctors lens: hackage.haskell.org/package/lens purescript-profunctor-lenses: pursuit.purescript.org/packages/purescript-profunctor-lenses… purescript-optic-ui: github.com/zrho/purescript-optic-ui/ purescript-thermite: github.com/paf31/purescript-thermite/ This was recorded at Brainium in Santa Monica during a Santa Monica Haskell meetup: meetup.com/santa-monica-haskell/events/230270785/Why it's here
1 person recommends thisWhat people say. Recommended as a deep dive into profunctor optics and lenses.
u/gilmiin r/haskell • Mentions
On “What is a Profunctor, anyway?”
u/iElectricin r/haskell • Mentions
On “Didn't struggle with monads as much as we're struggling with (product) profunctors”
u/jan_pathin r/haskell • Mentions
On “What is a Profunctor, anyway?”
u/nirglein r/haskell • Mentions
On “Any good material about how to think about and use profunctors?”