Brian Beckman: Don't fear the Monad
jasonofthel33tYouTube ↗
Caption notes
Brian Beckman starts with function composition. He uses clock arithmetic to introduce associativity and an identity element, then asks how to pass a result along when the first step returns it in a computational context. He uses bind to connect those steps and shows how taking the initial input in an outer function makes the whole computation composable. He points to LINQ’s SelectMany as an example of this idea in query operations.
Archived captions (transcription method unspecified) ↗Original passages · 2
the types need to line upbind is the guy who ensures that your functions are compositional