Re: [Haskell-cafe] ghci identifier listing question

2009-07-28 Thread Jeff Wheeler
On Mon, Jul 27, 2009 at 6:37 PM, Daniel van den Eijkeld...@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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ghci identifier listing question

2009-07-28 Thread Daniel van den Eijkel

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 Eijkeld...@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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

  

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe