Subtyping, the golden key

08/07/2023 9 min Temporada 4 Episodio 13
Subtyping, the golden key

Listen "Subtyping, the golden key"

Episode Synopsis

In this episode, I wax rhapsodic for the potential of subtyping to improve the practice of pure functional programming, in particular by allowing functional programmers to drop various irritating function calls that are needed just to make types work out.  Examples are lifting functions with monad transformers, or even just the pure/return functions for applicative functors/monads.