CheatSheet-1.1: A Haskell cheat sheet in PDF and literate formats.

CheatSheet

Documentation

data Choices Source

Constructors

First String 
Second 
Third 
Fourth 

Instances

class Flavor a whereSource

Methods

flavor :: a -> StringSource

Instances

data MyType Source

Constructors

MyValue1 
MyValue2 

Instances

data Point Source

Constructors

TwoD Int Int 
ThreeD Int Int Int 

data Poly Source

Constructors

Triangle Point Point Point 

data User Source

Constructors

User String 
Admin String 

data Slot1 a Source

Constructors

Slot1 a 
Empty1 

data Slot2 a Source

Constructors

Slot2 a Int 
Empty2 

data Contact Source

Constructors

Contact 

data Con Source

Constructors

Con 

Fields

conValue :: String
 
Uncon 

Fields

conValue :: String
 
Noncon 

data Num a => SomeNumber a Source

Constructors

Two a a 
Three a a a 

data Priority Source

Constructors

Low 
Medium 
High 

Instances

data Alarm Source

Constructors

Soft 
Loud 
Deafening 

Instances

newtype Home Source

Constructors

H String 

newtype Work Source

Constructors

W String 

data Phone Source

Constructors

Phone Home Work 

data Color Source

Constructors

C 

Fields

red :: Int
 
green :: Int
 
blue :: Int
 

Instances

data Pixel Source

Constructors

P Color 

Instances

class Def a whereSource

Methods

defValue :: a -> aSource

Instances

Def Bool 
Def Char 
Def a => Def (Maybe a)