It hasn't been evaluated yet.  It is just a thunk.

>let x = 23
>:show bindings
x :: Integer = _
>x
23
>:show bindings
x :: Integer = 23



On Thu, Jul 28, 2011 at 2:43 PM, Paul Reiners <paul.rein...@gmail.com> wrote:
> I have a question about the following GHCi interaction:
>
> Prelude> let x = 23
> Prelude> :show bindings
> x :: Integer = _
>
> What is the meaning of the underscore in the third line?  Why doesn't it say
> this, instead?
>
> x :: Integer = 23
>
>
> _______________________________________________
> 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

Reply via email to