Skip to content
0:00 / 0:00

#profunctors#lenses#purescript

Phil Freeman - Fun with Profunctors

Brainium

13K subscribers • 2 videos on Hallway

YouTube

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 this

What people say. Recommended as a deep dive into profunctor optics and lenses.

u/Faucelmein r/haskell • Recommends

Phil Freeman - Fun with Profunctors