Cookbook/Compilers and interpreters
< Cookbook(Difference between revisions)
(first step to turn this page from an arbitrary tutorial to a cookbook chapter)
Revision as of 08:11, 31 August 2009
3 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]