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/





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

Reply via email to