~/talk

Profunctor Optics: The Categorical Approach

slides:none on file

Derives profunctor optics from category theory by applying the Yoneda lemma inside the functor and profunctor categories, uses adjunctions (currying) and Tambara structure to build the free Tambara monad Phi, and shows how applying Phi to a profunctor reader yields the usual lens/prism representations. Works through coends/existentials to turn the polymorphic profunctor type for all P (P A B -> P S T) into concrete pairs of functions splitting S as C × A (lens) or C + A (prism), then recovers getter/setter-style implementations in Haskell.

AI-written summary · about

  1. 0:00Profunctor basics
  2. 8:07Yoneda lemma and optics
  3. 23:05Generalizing optics
  4. 44:51Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.