Skip to content
0:00 / 0:00

#functors#bifunctors#profunctors

George Wilson - The Extended Functor Family

Compose Conference

2.9K subscribers • 28 videos on Hallway

YouTube
  • Recommended by 2 people: 1 on Lobsters and 1 in engineering communities.
  • Presented by George Wilson

Intermediate. Assumes working knowledge.

19K views10 years ago2 recommendations

Programming languagesComputer scienceHaskellFunctional programming

George Wilson explains and provides intuition for advanced functor structures in Haskell, including contravariant functors, bifunctors, and profunctors.

George Wilson's talk at Compose :: Conference in Melbourne, 2016. -- Functors are ubiquitous in modern strongly-typed functional programming. Every Haskell beginner will come across them as one of the first typeclasses introduced. Stronger structures such as Applicative and Monad often steal the spotlight, but there are many structures related to the humble Functor that go unnoticed. The goal of this talk is to show off and give an intuition for some of these other structures: contravariant functors, bifunctors, and profunctors. With some of these making their way into Haskell’s standard library recently, now is a perfect time to be introduced to or brush up on these concepts. Code examples will use Haskell, but these techniques extend to any language with typeclasses or a similar mechanism, such as Scala’s implicits. -- composeconference.org/2016-melbourne/day-one-program/

Why it's here

2 people recommend this

What people say. Recommended as a great explanation of contravariant, bi-, and profunctors in Haskell.

u/IlikeSalmiakkiin r/haskell • Recommends

George Wilson - The Extended Functor Family 21:56

mightybyteon Lobsters • Recommends

The Extended Functor Family

u/Hath995in r/functionalprogramming • Mentions

On “Books about math subjects related to FP and programming in general”

Moat object oriented design patterns were defined and named in the 90s by engineers in English. Functional programming patterns were defined in the 60s by mathematicians in Greek roughly. The names can be daunting and the level of abstraction is higher because they are about patterns of functions. Here is a really great video that explains some patterns in shapes and colors. link to this video