Summary: Haskell Cheat Sheet maneu.fr | c-maneu.developpez.com
Creative Commons Licence BY-NC-ND
All comments start with two hyphens
-- This is a comment in the code
Haskell uses various data types, all of them starts by a
Int: Integer number with fixed precision
Integer: Integer number with virtually no limits
Float: Floating number
Bool: Boolean. Takes two values: True or False.
Char: Character. Any character in the code is
placed between quotes (').
String: Strings (In fact, a list of Chars).
Identity: ==, non identity /=