News for hackers. Stuff that matters.
Re:Why category theory matters in programming by s4vi0r on Wednesday September 13, 2017 @10:58PM (#15244690)
Isn't a Monad just the fancy name for a type/structure that implements map and flatMap in a lawful manner?
Re:Why category theory matters in programming by hota_mazi on Wednesday September 13, 2017 @11:21PM (#15244768)
Close: the required operations are `flatMap` and bind/pure/point/lift/return/whatever-you-want-to-call-it.

You can derive `map` from these two other functions so it doesn't need to be part of the interface.

Re:Why category theory matters in programming by ebola1717 on Thursday September 14, 2017 @10:15AM (#15248218)
Bind is flatMap (>>=)

Confusingly, map in scala is fmap in Haskell

Re:Why category theory matters in programming by hota_mazi on Thursday September 14, 2017 @12:04PM (#15249323)
Oops you're right of course. And I can't edit my post.