apiary-0.5.0.0: Simple web framework inspired by scotty.
Control.Monad.Apiary.Filter.Internal
Synopsis
function :: Monad m => (SList c -> Request -> Maybe (SList c')) -> ApiaryT c' m b -> ApiaryT c m bSource
raw and most generic 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).