Copyright | Copyright (C) 2006-2009 John Goerzen |
---|---|
License | GNU LGPL, version 2.1 or above |
Maintainer | John Goerzen <jgoerzen@complete.org> |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Copyright (c) 2006-2009 John Goerzen, jgoerzen@complete.org
- data Channel
- chanAsString :: Channel -> IO String
- chanAsBSL :: Channel -> IO ByteString
- chanAsBS :: Channel -> IO ByteString
- chanToHandle :: Bool -> Channel -> Handle -> IO ()
- class Channelizable a where
Documentation
The main type for communicating between commands. All are expected to be lazy.
chanAsString :: Channel -> IO String Source
chanAsBSL :: Channel -> IO ByteString Source
chanAsBS :: Channel -> IO ByteString Source
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.
class Channelizable a where Source