Effectful composition in natural language semantics

Dylan Bumford (UCLA) & Simon Charlow (Yale)

Abstract: Computer programs are often factored into pure components—simple, total functions from inputs to outputs—and components that may have side effects—errors, changes to memory, parallel threads, abortion of the current command, etc. In this course, we make the case that human languages are similarly organized around the give and pull of pure and effectful processes, and we’ll aim to show how denotational techniques from computer science can be leveraged to support elegant and illuminating semantic analyses of natural language phenomena.

A short book based on this material is in press with Cambridge University Press, and can be accessed here. (Let us know of any errata!)

The slides below are being updated with NASSLLI 2025 versions ('NEW'). You can get a preview of where we're going by looking at the ESSLLI 2022 versions ('OLD').

Day 1: Introducing functors (NEW slides)

Day 2: Multiple functors, automating composition (NEW slides)

Day 3: From functors to applicative functors (NEW slides, code)

Day 4: From applicatives to monads (NEW slides)

Day 5: Monads decomposed (NEW slides)