Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data NlTemplates m Source #
NlTemplates | |
|
Instances
HasNlTemplates (NlTemplates m) m Source # | |
Defined in Network.Mail.Newsletter.Web.Templates nlTemplates :: Lens' (NlTemplates m) (NlTemplates m) Source # confirmConfirmed :: Getter (NlTemplates m) (Address -> m Html) Source # confirmStart :: Getter (NlTemplates m) (Address -> m Html) Source # optInEmail :: Getter (NlTemplates m) (Address -> m (Address -> Mail)) Source # subStartPage :: Getter (NlTemplates m) (Text -> Text -> Text -> Text -> m Html) Source # subStartSubmitted :: Getter (NlTemplates m) (Address -> m Html) Source # unsubConfirmTempl :: Getter (NlTemplates m) (Address -> m Html) Source # unsubTempl :: Getter (NlTemplates m) (Address -> m Html) Source # |
class HasNlTemplates c m | c -> m where Source #
nlTemplates :: Lens' c (NlTemplates m) Source #
confirmConfirmed :: HasApiRoot m => Getter c (Address -> m Html) Source #
confirmStart :: HasApiRoot m => Getter c (Address -> m Html) Source #
optInEmail :: HasApiRoot m => Getter c (Address -> m (Address -> Mail)) Source #
subStartPage :: HasApiRoot m => Getter c (Text -> Text -> Text -> Text -> m Html) Source #
subStartSubmitted :: HasApiRoot m => Getter c (Address -> m Html) Source #
unsubConfirmTempl :: HasApiRoot m => Getter c (Address -> m Html) Source #
unsubTempl :: HasApiRoot m => Getter c (Address -> m Html) Source #
Instances
HasNlTemplates (NlTemplates m) m Source # | |
Defined in Network.Mail.Newsletter.Web.Templates nlTemplates :: Lens' (NlTemplates m) (NlTemplates m) Source # confirmConfirmed :: Getter (NlTemplates m) (Address -> m Html) Source # confirmStart :: Getter (NlTemplates m) (Address -> m Html) Source # optInEmail :: Getter (NlTemplates m) (Address -> m (Address -> Mail)) Source # subStartPage :: Getter (NlTemplates m) (Text -> Text -> Text -> Text -> m Html) Source # subStartSubmitted :: Getter (NlTemplates m) (Address -> m Html) Source # unsubConfirmTempl :: Getter (NlTemplates m) (Address -> m Html) Source # unsubTempl :: Getter (NlTemplates m) (Address -> m Html) Source # |
defTemplates :: (HasClientSessionKey k, HasApiRoot m, MonadReader k m, MonadIO m, IsElem NewsletterSubConfirmGet (ApiRoot m)) => NlTemplates m Source #
defOptInEmail :: (HasClientSessionKey k, HasApiRoot m, MonadReader k m, MonadIO m, IsElem NewsletterSubConfirmGet (ApiRoot m)) => Text -> Address -> m (Address -> Mail) Source #
defConf :: (HasClientSessionKey k, HasApiRoot m, MonadReader k m, MonadIO m, IsElem NewsletterSubConfirmGet (ApiRoot m)) => Address -> m Html Source #
defConfed :: (HasClientSessionKey k, HasApiRoot m, MonadReader k m, MonadIO m) => Address -> m Html Source #
defUnsubConf :: (HasClientSessionKey k, HasApiRoot m, MonadReader k m, MonadIO m, IsElem NewsletterSubConfirmGet (ApiRoot m)) => Address -> m Html Source #
defUnsubbed :: (HasClientSessionKey k, HasApiRoot m, MonadReader k m, MonadIO m) => Address -> m Html Source #