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.

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.