reroute-0.2.3.0: abstract implementation of typed and untyped web routing

Safe HaskellNone
LanguageHaskell2010

Web.Routing.TextRouting

Synopsis

Documentation

combineRoute :: Text -> Text -> Text Source

Combine two routes, ensuring that the slashes don't get messed up

type TextAction m r = TAction m r [] Source

newtype TPath a Source

Constructors

TPath 

Fields

unTPath :: Text
 

Instances

Eq (TPath a) 
Ord (TPath a) 
Read (TPath a) 
Show (TPath a) 
IsString (TPath a) 

newtype TAction m r p Source

Constructors

TAction (m r) 

newtype TActionAppl m r Source

Constructors

TActionAppl (m r) 

data TextRouter m a Source

Constructors

TextRouter 

Instances

data RouteData a Source

Constructors

RouteData 

Fields

rd_node :: !RouteNode
 
rd_data :: !(Vector a)
 

Instances

Eq a => Eq (RouteData a) 
Show a => Show (RouteData a) 
NFData a => NFData (RouteData a) 

data RoutingTree a Source

Instances

Eq a => Eq (RoutingTree a) 
Show a => Show (RoutingTree a) 
NFData a => NFData (RoutingTree a)