HSH-2.0.4: Library to mix shell scripting with Haskell programs

Portabilityportable
Stabilityprovisional
MaintainerJohn Goerzen <jgoerzen@complete.org>
Safe HaskellNone

HSH.Channel

Description

Copyright (c) 2006-2009 John Goerzen, jgoerzen@complete.org

Synopsis

Documentation

data Channel Source

The main type for communicating between commands. All are expected to be lazy.

chanToHandle :: Bool -> Channel -> Handle -> IO ()Source

Writes the Channel to the given Handle. If the first parameter is True, do this in a separate thread and close the handle afterwards.