Working with Functors, Applicatives, and Monads

In this chapter, we will look at the following recipes:

  • Working with Functors
  • Binary tree as Functor
  • Working with Applicatives
  • Binary tree as Applicative
  • Working with monad
  • List as monad
  • Working with IO monad
  • Writing INI Parser:
    • Parser as Functor
    • Parser as Applicative
    • Parser as monad
  • Errors and exception handling

Get Haskell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.