[Haskell-cafe] Binding of an integer variable

Paul Reiners paul.reiners at gmail.com
Thu Jul 28 20:43:30 CEST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110728/5eb43cc9/attachment.htm>


More information about the Haskell-Cafe mailing list