News for hackers. Stuff that matters.
Re:A philosophical difference between Haskell and Lisp (2015) by chongli on Sunday August 02, 2020 @07:49PM (#24032783)
keep the Maybe types from taking everything over.

Pattern matching on Maybe types is rather unidiomatic Haskell. Much better to take advantage of the type classes to which Maybe belongs: Functor, Applicative, Monad. In particular, there's no need to unwrap/wrap the Maybe value when you have `fmap`.

There are no comments on this comment yet.