Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class CanRespond o where Source #
:: [ByteString] | Accept header values |
-> Bool |
Instances
class ToResponse m r where Source #
toResponse :: [ByteString] -> r -> m Response Source #
Instances
Instances
CanRespond NoBody Source # | |
Defined in Web.Minion.Response canRespond :: [ByteString] -> Bool Source # | |
Monad m => ToResponse m NoBody Source # | |
Defined in Web.Minion.Response toResponse :: [ByteString] -> NoBody -> m Response Source # |
type IsResponse m o = (CanRespond o, ToResponse m o) Source #