Tiny, Untyped Monads
Summary
The article presents a compact, untyped approach to implementing monads in JavaScript, starting from Tagged Unions and moving through Maybe, Either, State, IO, and Parser. It argues that monadic concepts can be simple at their core and demonstrates them with concise code samples, aiming for education rather than production use. It also references a GitHub library and a pure language project, Bruijn, to illustrate the ideas.