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

Safe HaskellNone
LanguageHaskell98

Yesod.Routes.TH.Types

Contents

Description

Warning! This module is considered internal and may have breaking changes

Synopsis

Data types

data Piece typ Source

Constructors

Static String 
Dynamic typ 

Instances

Functor Piece 
Show typ => Show (Piece typ) 
Lift t => Lift (Piece t) 

data Dispatch typ Source

Constructors

Methods 

Fields

methodsMulti :: Maybe typ

type of the multi piece at the end

methodsMethods :: [String]

supported request methods

Subsite 

Fields

subsiteType :: typ
 
subsiteFunc :: String
 

Instances

Functor Dispatch 
Show typ => Show (Dispatch typ) 
Lift t => Lift (Dispatch t) 

data FlatResource a Source

Constructors

FlatResource 

Helper functions