learnyouahaskell / learnyouahaskell.github.io

A community version of the renowned "Learn You a Haskell" (LYAH) tutorials collection!
https://learnyouahaskell.github.io
Other
317 stars 39 forks source link

"The Monad type class" is outdated #5

Open konsumlamm opened 2 years ago

konsumlamm commented 2 years ago

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.

smith558 commented 2 years ago

@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. :)