[Haskell-cafe] Silly question

Joel Reymont joelr1 at gmail.com
Mon Oct 31 04:54:31 EST 2005


Hi Alistair!

I didn't know about "it" in ghci, thanks. Are there multiple levels  
of it?

I wanted z "a" :: Maybe Int which I understand now.

     Thanks, Joel

On Oct 31, 2005, at 9:44 AM, Bayley, Alistair wrote:

> Or directly the the ghci prompt:
> *Foo> z "a"
> *Foo> :t it
> it :: Int
> *Foo> print it
> 1
> *Foo> z "a" :: [Int]
> [1]

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list