yesod-0.5.2: Creation of type-safe, RESTful web applications.

Yesod.Internal

Contents

Description

Normal users should never need access to these.

Synopsis

Error responses

data ErrorResponse Source

Responses to indicate some form of an error occurred. These are different from SpecialResponse in that they allow for custom error pages.

Header

data Header Source

Headers to be added to a Result.

Instances

Cookie names

Widgets

data Location url Source

Constructors

Local url 
Remote String 

Instances

Eq url => Eq (Location url) 
Show url => Show (Location url) 

newtype UniqueList x Source

Constructors

UniqueList ([x] -> [x]) 

Instances

newtype Script url Source

Constructors

Script 

Fields

unScript :: Location url
 

Instances

Eq url => Eq (Script url) 
Show url => Show (Script url) 

newtype Stylesheet url Source

Constructors

Stylesheet 

Fields

unStylesheet :: Location url
 

Instances

Eq url => Eq (Stylesheet url) 
Show url => Show (Stylesheet url) 

newtype Title Source

Constructors

Title 

Fields

unTitle :: Html
 

newtype Head url Source

Constructors

Head (Hamlet url) 

Instances

Monoid (Head url) 

newtype Body url Source

Constructors

Body (Hamlet url) 

Instances

Monoid (Body url)