News for hackers. Stuff that matters.
Re:Swift Functors, Applicatives, and Monads in Pictures by dragonwriter on Wednesday July 15, 2015 @02:04AM (#9889939)
IO, State, Parsers, and STM are useful monads for which the collection metaphor doesn't seem to be particularly helpful.
Re:Swift Functors, Applicatives, and Monads in Pictures by jbooth on Wednesday July 15, 2015 @11:12AM (#9891679)
STM's a good one. I'd consider I/O and State as solving a self-inflicted problem -- I can have side-effect-creating I/O and State in just plain C with barely any type system.