Cookbook/Compilers and interpreters

From HaskellWiki
< Cookbook
Revision as of 08:12, 31 August 2009 by Lenny222 (talk | contribs) (Cookbook/General hints moved to Cookbook/Compilers and interpreters)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

GHC

GHCi

Checking Types

To check the type of an expression or function, use the command `:t'

Prelude> :t x
x :: Integer
Prelude> :t "Hello"
"Hello" :: [Char]