GHCi :browse command

The :browse command in GHCi displays the contents of a module.

For example, here we inspect the contents of the Data.Tuple module:

We see that this module exports five functions: curry, uncurry, fst, snd, and swap.

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