wai-route-0.3.1.2: Minimalistic, efficient routing for WAI

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Route.Tree

Contents

Synopsis

Routing Tree

data Tree a Source #

Instances

Monoid (Tree a) Source # 

Methods

mempty :: Tree a #

mappend :: Tree a -> Tree a -> Tree a #

mconcat :: [Tree a] -> Tree a #

foldTree :: (Payload a -> b -> b) -> b -> Tree a -> b Source #

mapTree :: (Payload a -> Payload b) -> Tree a -> Tree b Source #

toList :: Tree a -> [Payload a] Source #

Tree leaf payload

value :: Payload a -> a Source #

Captures