Skip to main content

Core Classes for Haskells

Functor, Applicative and Monad are the type classes that describe computation inside a context, such as Maybe for missing values, lists for many results or IO for effects. Functor maps over the context, Applicative combines independent contexts, and Monad chains steps that depend on earlier results using bind.

Stage: Abstractions · Part of the Haskell roadmap · Last reviewed 19 November 2026

What to learn in Core Classes

Core Classes interview questions

What is a monad in Haskell, in practical terms?

A monad is a type constructor with return and bind operations that lets you sequence steps where each can depend on the earlier result, while the type handles the plumbing. Maybe stops on failure, Either carries an error, and IO sequences effects.

How is Applicative different from Monad?

Applicative combines computations whose structure does not depend on earlier results, so all effects are known up front. Monad lets a later step be chosen based on an earlier value. Every monad is applicative, but not the reverse, and parsers or validators often use Applicative alone.

Where Core Classes fits in the Haskell roadmap

Core Classes belongs to the Abstractions stage (advanced level). The functional toolkit.

Back to the full Haskell roadmap