Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
-
newtype
SubscriptionTarget
m target =
SubscriptionTarget
{
- getSubscriptionTarget :: m ( Maybe (target, SubscriptionTarget m target))
- listSubscriptionTarget :: Applicative m => [target] -> SubscriptionTarget m target
Documentation
newtype SubscriptionTarget m target Source #
Generate subscription targets in some monad. Examples include obtaining targets from a fixed list, or from a DNS lookup.
SubscriptionTarget | |
|
listSubscriptionTarget :: Applicative m => [target] -> SubscriptionTarget m target Source #