Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Newsletter p where Source #
subscribe :: ProcessT p (Address, Value) () Source #
Adds users with specific data to the Newsletter recipient list.
unsubscribe :: ProcessT p Address () Source #
Removes users from the Newsletter recipient list.
subscribers :: SourceT p (Address, Value) Source #
Gets a list of subscribers and all their associated data.
sendEmail :: (Address -> Mail) -> p () Source #
Send an email to the mailing list. Takes as From Address for correctness.
sendSubscribe :: Address -> (Address -> Mail) -> p () Source #
Sends a subscription email to just the person signing up. Takes the From Address to create the mail for correctness.