Prelude

The Prelude module is a subset of the base library that is in scope by default during GHCi sessions and in Haskell source files.

It is as if these two lines were implicitly present at the top of every file:

import Prelude
import qualified Prelude

This means that, before you have done anything, a lot of functions, operators, types, and typeclasses (and instances) are already in scope.

Join Type Classes for courses and projects to get you started and make you an expert in FP with Haskell.