broadcast-chan-0.2.1.2: Closable, fair, single-wakeup channel type that avoids 0 reader space leaks.
Copyright(C) 2014-2021 Merijn Verstraaten
LicenseBSD-style (see the file LICENSE)
MaintainerMerijn Verstraaten <merijn@inconsistent.nl>
Stabilityexperimental
Portabilityhaha
Safe HaskellSafe
LanguageHaskell2010

BroadcastChan.Prelude

Description

This module contains convenience functions that clash with names in Prelude and is intended to be imported qualified.

Synopsis

Documentation

forM_ :: MonadIO m => BroadcastChan Out a -> (a -> m b) -> m () Source #

mapM_ with it's arguments flipped.

mapM_ :: MonadIO m => (a -> m b) -> BroadcastChan Out a -> m () Source #

Map a monadic function over the elements of a BroadcastChan, ignoring the results.