| Portability | portable | 
|---|---|
| Stability | experimental | 
| Maintainer | jeremy@n-heptane.com | 
| Safe Haskell | Safe-Infered | 
Control.Pipe.Tee
Description
Documentation
Arguments
| :: Monad m | |
| => Pipe a Void m r | 
 | 
| -> Pipe a a m r | 
Acts like idP, but also passes a copy to the supplied consumer.
Arguments
| :: MonadIO m | |
| => (a -> ByteString) | function to convert the value to a
    | 
| -> FilePath | file to log to | 
| -> Pipe a a m () | 
Acts like idP, but also writes a copy to a file.
Arguments
| :: MonadIO m | |
| => FilePath | file to log to | 
| -> Pipe ByteString ByteString m () | 
Acts like, idP, but also writes a copy to the specified log file.
This function is equivalent to teeFile id.