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

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Route.Tree

Contents

Synopsis

Routing Tree

data Tree a Source

Instances

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

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

Tree leaf payload

value :: Payload a -> a Source

Captures