{-# LANGUAGE Safe #-} ------------------------------------------------------------------------------- -- | -- Module : BroadcastChan.Pipes -- Copyright : (C) 2014-2018 Merijn Verstraaten -- License : BSD-style (see the file LICENSE) -- Maintainer : Merijn Verstraaten -- Stability : experimental -- Portability : haha -- -- This module is identical to "BroadcastChan", but replaces the parallel -- processing operations with functions for creating producers and effects that -- process in parallel. ------------------------------------------------------------------------------- module BroadcastChan.Pipes ( Action(..) , Handler(..) , parMapM , parMapM_ -- * Re-exports from "BroadcastChan" -- ** Datatypes , BroadcastChan , Direction(..) , In , Out -- ** Construction , newBroadcastChan , newBChanListener -- ** Basic Operations , closeBChan , isClosedBChan , getBChanContents -- ** Foldl combinators -- | Combinators for use with Tekmo's @foldl@ package. , foldBChan , foldBChanM ) where import BroadcastChan hiding (parMapM_) import BroadcastChan.Pipes.Internal