News for hackers. Stuff that matters.
Re:Swift Functors, Applicatives, and Monads in Pictures by tel on Tuesday July 14, 2015 @11:06PM (#9889494)
Silly and wonderful there is always

    data Fake a = Fake
which is trivially a monad

    instance Monad Fake where
      return _ = Fake
      Fake >>= f = Fake
yet it clearly contains nothing.
Re:Swift Functors, Applicatives, and Monads in Pictures by lmm on Wednesday July 15, 2015 @12:03PM (#9892062)
Grandparent asked for useful though :P
Re:Swift Functors, Applicatives, and Monads in Pictures by tel on Wednesday July 15, 2015 @03:39PM (#9893579)
Who says Fake isn't useful? It's very useful for stating that nothing can happen :)