apiary-0.6.1.0: Simple web framework inspired by scotty.

Safe HaskellNone

Control.Monad.Apiary.Filter.Internal

Synopsis

Documentation

function :: Monad m => (SList c -> Request -> Maybe (SList c')) -> ApiaryT c' m b -> ApiaryT c m bSource

low level filter function.

function' :: Monad m => (Request -> Maybe a) -> ApiaryT (Snoc as a) m b -> ApiaryT as m bSource

filter and append argument.

function_ :: Monad m => (Request -> Bool) -> ApiaryT c m b -> ApiaryT c m bSource

filter only(not modify arguments).

focus :: (SList c -> ActionT IO (SList c')) -> ApiaryT c' m a -> ApiaryT c m aSource

filter by action. since 0.6.1.0.