Sam Stites

Browse GHCi

05 Jan 2016 - Redwood City, CA

Use :browse <module> to view modules which you haven’t yet imported. For example:

Prelude> :browse Data.Bool
bool :: a -> a -> Bool -> a
(&&) :: Bool -> Bool -> Bool
data Bool = False | True
not :: Bool -> Bool
otherwise :: Bool
(||) :: Bool -> Bool -> Bool

A perfect complement to my current workflow which includes the hoogle-GHCi integration.