Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
respondTo :: (ScottyError e, Monad m) => ResponseFormat e m () -> ActionT e m () Source #
formatHtml :: (ScottyError e, Monad m) => ActionT e m () -> ResponseFormat e m () Source #
formatText :: (ScottyError e, Monad m) => ActionT e m () -> ResponseFormat e m () Source #
formatJson :: (ScottyError e, Monad m) => ActionT e m () -> ResponseFormat e m () Source #
format :: (ScottyError e, Monad m) => MediaType -> ActionT e m () -> ResponseFormat e m () Source #
data ResponseFormat e m a Source #
Monad (ResponseFormat e m) Source # | |
Functor (ResponseFormat e m) Source # | |
Applicative (ResponseFormat e m) Source # | |
Monoid (ResponseFormat e m a) Source # | |