Copyright | (c) 2011 Kathleen Fisher <kathleen.fisher@gmail.com> John Launchbury <john.launchbury@gmail.com> |
---|---|
License | MIT |
Maintainer | Karl Cronburg <karl@cs.tufts.edu> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
This module provides a way to lazily append to a ByteString for the purpose of printing said ByteString.
Synopsis
- type PadsPrinter a = a -> FList
- type FList = ByteString -> ByteString
- (+++) :: FList -> FList -> FList
- nil :: FList
- concatFL :: [FList] -> FList
- printNothing :: FList
- addBString :: ByteString -> FList
- addString :: String -> FList
- fshow :: Show a => a -> FList
- printEOR :: FList
- printEOF :: FList
- endRecord :: FList -> FList
- printF :: FList -> IO ()
Documentation
type PadsPrinter a = a -> FList Source #
type FList = ByteString -> ByteString Source #
printNothing :: FList Source #
addBString :: ByteString -> FList Source #