Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
Haskell Cheat Sheet maneu.fr | c-maneu.developpez.com Christopher MANEU
 

Summary: Haskell Cheat Sheet maneu.fr | c-maneu.developpez.com

Christopher MANEU
Creative Commons Licence BY-NC-ND
BASICS
Comments
All comments start with two hyphens
-- This is a comment in the code
Data Types
Haskell uses various data types, all of them starts by a
capital letter:
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).
Conditionals
Identity: ==, non identity /=

  

Source: Allan, Vicki H. - Department of Computer Science, Utah State University

 

Collections: Computer Technologies and Information Sciences