apiary-0.7.0.0: Simple web framework inspired by scotty.

Safe HaskellNone

Control.Monad.Apiary.Filter.Internal

Synopsis

Documentation

function :: (SList c -> Request -> Maybe (SList c')) -> Apiary c' b -> Apiary c bSource

low level filter function.

function' :: (Request -> Maybe a) -> Apiary (Snoc as a) b -> Apiary as bSource

filter and append argument.

function_ :: (Request -> Bool) -> Apiary c b -> Apiary c bSource

filter only(not modify arguments).

focus :: (SList c -> Action (SList c')) -> Apiary c' a -> Apiary c aSource

filter by action. since 0.6.1.0.