HSH-2.1.2: 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 HaskellSafe
LanguageHaskell98

HSH.Channel

Description

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

Synopsis

Documentation

data Channel #

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

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

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

class Channelizable a where #

Minimal complete definition

toChannel

Methods

toChannel :: a -> Channel #