#monads and More in 5 Minutes or Less
▻https://hackernoon.com/monads-and-more-in-5-minutes-or-less-80d71f19dc11?source=rss----3a8144ea
Plain English not Crazy JargonThe necessity of monads in #haskell maintains the pure functionality of the language but can test the patience of its programmers. An understanding of monads is essential if you want to work with Haskell. This tutorial offers a quick look at the structure of the Monad typeclass. While you’ll need familiarity with Haskell, specifically, to understand how to tackle its Monad typeclass, the concepts presented in this tutorial are easily transferred to other languages. We’ll also be covering the #applicative and #functor typeclasses. Let’s start with the boring, technical definition. A monad is a particular typeclass that is primarily composed of 2 functions, bind and return. This is simple enough, right? Now let’s break down some terminology and find out why these 2 (...)