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

CopyrightCopyright (C) 2006-2009 John Goerzen
LicenseGNU LGPL, version 2.1 or above
MaintainerJohn Goerzen <jgoerzen@complete.org>
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell98

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.