[Haskell-cafe] ghci identifier listing question

Jeff Wheeler jeff at nokrev.com
Tue Jul 28 02:54:04 EDT 2009


On Mon, Jul 27, 2009 at 6:37 PM, Daniel van den Eijkel<dvde at gmx.net> wrote:

> Is it possible, to reach the (shadowed) values in any way?

I'm not sure about this, but . . .

> Another question: Is it possible to show only those identifiers that are
> defined during the interactive session? I only can list all identifiers
> which start with a given prefix, but I would like to know if GHCi can show
> me all identifiers defined in a given module or in the current session (by
> pressing Tab or alike).

Yes, this will list the current bindings:

> :show bindings

Jeff Wheeler


More information about the Haskell-Cafe mailing list