How to know what are the full list of function availlable in an import?

Viewed 482

In Haskell if I import a module e.g.

import Data.List 

How can I know what is the total method that Data.List made available ?

In Prelude I can use completion like said here Is there a way to see the list of functions in a module, in GHCI?::

Prelude> :m +Data.List
Prelude Data.List> Data.List.<PRESS TAB KEY HERE>

But I want to get this in a list that be can manipulate, not in Prelude.

This question is not about builtins how to know in Haskell the builtins functions?, (I mean by builtins available functions we have without doing any import)

3 Answers
Related