Lifts a partial function to an Service
.
Lifts a partial function to an Service
. Responds with the
zero of [B] for any request where pf
is not defined.
Lifts a Task into a Service.
Lifts a value into a Service.
A service that always returns the zero of B.
Lifts a total function to a Service
.
Lifts a total function to a Service
. The function is expected to handle
all requests it is given. If f
is a PartialFunction
, use apply
instead.
Allows Service chainig through a scalaz.Monoid
instance.