Safe Haskell | Safe-Inferred |
---|
Provides a printer class that may broadcast to all channels that fulfill a condition.
- class ChChannelPrinter c m => ChBroadcaster c m where
- class ChBroadcaster c m => ChBroadcasterBracket c m where
Documentation
class ChChannelPrinter c m => ChBroadcaster c m whereSource
Typeclass for all channel printers that may broadcast to all channels that fulfill a condition.
class ChBroadcaster c m => ChBroadcasterBracket c m whereSource
Typeclass for all broadcaster that may embrace sections
bbracket :: (c -> m Bool) -> m a -> m aSource
Run the function and print to all channels that fulfill the given condition.
bstart :: (c -> m Bool) -> m ()Source
From now on use the given condition to determine the channels to print to.
bfin :: (c -> m Bool) -> m ()Source
Return to the previous condition. The argument is bogus (just for type inference).