learnyouahaskell / learnyouahaskell.github.io

A community version of the renowned "Learn You a Haskell" (LYAH) tutorials collection!

Home Page:https://learnyouahaskell.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"The Monad type class" is outdated

konsumlamm opened this issue · comments

The section "The Monad type class" in the chapter "A Fistful of Monads" (https://learnyouahaskell.github.io/a-fistful-of-monads.html#the-monad-type-class) talks about how Applicative is not a superclass of Monad. However, that is not true anymore. Additionally, fail is no longer a method of Monad.

@konsumlamm Thanks for pointing these out! I'll keep this open so it can be incorporated. If you're interested and have basic web development experience please feel free to fork and make changes. Open to pull requests. :)