ghci identifier listing question

Hi, in GHCi, after pressing the tab-key, all defined identifiers are listed. If an identifier was redefined, all old and shadowed versions are listed, too. Is it possible, to reach the (shadowed) values in any way? 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). Best regards, Daniel

On Mon, Jul 27, 2009 at 6:37 PM, Daniel van den Eijkel
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

Ah, thats great! And it shows the values (or part of if), too. Very nice. Thank you, Daniel Jeff Wheeler schrieb:
On Mon, Jul 27, 2009 at 6:37 PM, Daniel van den Eijkel
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 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
Daniel van den Eijkel
-
Jeff Wheeler