5 ms·
You're close to inventing monads! I did this once too for async reasons also, and it's how I wandered into the world of Monads and functional programming. I w
by runT1ME 9y ago
You're close to inventing monads! I did this once too for async reasons also, and it's how I wandered into the world of Monads and functional programming. I would definitely take a look at Scala's futures and what it means to be a monad. This is probably the best way to internalize them. :)