purescript-httpurple/Library/HTTPure/HTTPureM.purs
2017-07-14 00:00:57 -07:00

12 lines
364 B
Haskell

module HTTPure.HTTPureM
( HTTPureM
) where
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