apiary-0.10.0: Simple web framework inspired by scotty.

Safe HaskellNone

Control.Monad.Apiary.Filter.Internal

Synopsis

Documentation

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

low level filter function.

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

filter and append argument.

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

filter only(not modify arguments).

focus :: (Functor n, Monad n) => (SList c -> ActionT n (SList c')) -> ApiaryT c' n m a -> ApiaryT c n m aSource

filter by action. since 0.6.1.0.