purescript-httpurple/Library/HTTPure/HTTPureM.purs

12 lines
364 B
Haskell
Raw Normal View History

module HTTPure.HTTPureM
( HTTPureM
) where
2017-07-10 10:17:13 +00:00
import Control.Monad.Eff as Eff
import Node.HTTP as HTTP
-- | The `HTTPureM` monad represents effects run by an HTTPure server. It takes
-- | an effects row parameter which enumerates all other side-effects performed
-- | while carrying out the server actions.
type HTTPureM e t = Eff.Eff (http :: HTTP.HTTP | e) t