News for hackers. Stuff that matters.
Re:Ask HN: What are the best textbooks in your field of expe... by staeff777 on Monday October 01, 2018 @01:36AM (#18110282)
Ha, at first I thought it's about functional programming. :-)
Re:Ask HN: What are the best textbooks in your field of expe... by evincarofautumn on Monday October 01, 2018 @02:13AM (#18110378)
Optional types and futures are both important and useful examples of monads—in the “container” and “action” interpretations, respectively; and derivatives are the method of constructing zippers, which are an accessible example of comonads, as well as a useful method of constructing other things like parsers, so these are actually pretty solid concepts for a functional programmer—whether in Haskell or otherwise. I would totally buy that book. :)