Tiny, Untyped Monads (2024)

4 points by abhin4v


nemin

JS sort of adding monads with Promises, but not flexibly enough to be able to represent other monadic computation feels like such a loss. Yeah, I know, generators, but those feel like an abuse of functionality, rather than an intended feature.