newsletter-mailgun-0: A mailgun backend for the newsletter package.

Safe HaskellNone
LanguageHaskell2010

Network.Mail.Newsletter.Mailgun

Documentation

newtype MailgunNewsT m a Source #

Instances
MonadTrans MailgunNewsT Source # 
Instance details

Defined in Network.Mail.Newsletter.Mailgun

Methods

lift :: Monad m => m a -> MailgunNewsT m a #

Monad m => MonadReader MailgunNewsletterContext (MailgunNewsT m) Source # 
Instance details

Defined in Network.Mail.Newsletter.Mailgun

Monad m => Monad (MailgunNewsT m) Source # 
Instance details

Defined in Network.Mail.Newsletter.Mailgun

Methods

(>>=) :: MailgunNewsT m a -> (a -> MailgunNewsT m b) -> MailgunNewsT m b #

(>>) :: MailgunNewsT m a -> MailgunNewsT m b -> MailgunNewsT m b #

return :: a -> MailgunNewsT m a #

fail :: String -> MailgunNewsT m a #

Functor m => Functor (MailgunNewsT m) Source # 
Instance details

Defined in Network.Mail.Newsletter.Mailgun

Methods

fmap :: (a -> b) -> MailgunNewsT m a -> MailgunNewsT m b #

(<$) :: a -> MailgunNewsT m b -> MailgunNewsT m a #

Applicative m => Applicative (MailgunNewsT m) Source # 
Instance details

Defined in Network.Mail.Newsletter.Mailgun

Methods

pure :: a -> MailgunNewsT m a #

(<*>) :: MailgunNewsT m (a -> b) -> MailgunNewsT m a -> MailgunNewsT m b #

liftA2 :: (a -> b -> c) -> MailgunNewsT m a -> MailgunNewsT m b -> MailgunNewsT m c #

(*>) :: MailgunNewsT m a -> MailgunNewsT m b -> MailgunNewsT m b #

(<*) :: MailgunNewsT m a -> MailgunNewsT m b -> MailgunNewsT m a #

MonadIO m => MonadIO (MailgunNewsT m) Source # 
Instance details

Defined in Network.Mail.Newsletter.Mailgun

Methods

liftIO :: IO a -> MailgunNewsT m a #

(MonadIO m, MonadThrow m) => Newsletter (MailgunNewsT m) Source # 
Instance details

Defined in Network.Mail.Newsletter.Mailgun

Methods

subscribe :: ProcessT (MailgunNewsT m) (Address, Value) () #

unsubscribe :: ProcessT (MailgunNewsT m) Address () #

subscribers :: SourceT (MailgunNewsT m) (Address, Value) #

sendEmail :: (Address -> Mail) -> MailgunNewsT m () #

sendSubscribe :: Address -> (Address -> Mail) -> MailgunNewsT m () #

MonadCatch m => MonadCatch (MailgunNewsT m) Source # 
Instance details

Defined in Network.Mail.Newsletter.Mailgun

Methods

catch :: Exception e => MailgunNewsT m a -> (e -> MailgunNewsT m a) -> MailgunNewsT m a

MonadThrow m => MonadThrow (MailgunNewsT m) Source # 
Instance details

Defined in Network.Mail.Newsletter.Mailgun

Methods

throwM :: Exception e => e -> MailgunNewsT m a