Copyright | 2009 Henning Thielemann |
---|---|
Safe Haskell | None |
Language | Haskell98 |
Unified interface to String and ByteStrings.
Documentation
class Monoid stream => C stream where Source #
fromString :: Int -> String -> stream Source #
toString :: stream -> String Source #
isEmpty :: stream -> Bool Source #
length :: stream -> Integer Source #
isPrefixOf :: stream -> stream -> Bool Source #
break :: (Char -> Bool) -> stream -> (stream, stream) Source #
drop :: Int -> stream -> stream Source #
read :: Handle -> Integer -> IO stream Source #
readAll :: Int -> Handle -> IO stream Source #