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:

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

Type Classes offers courses and projects to get you started and make you an expert in FP with Haskell. For $29/month, you get access to the complete archive and all the latest content.