Subtyping, the golden key

Published: July 9, 2023, 3 a.m.

b'

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.\\xa0 Examples are lifting functions with monad transformers, or even just the pure/return functions for applicative functors/monads.

'