|
Language.C.Data.InputStream | Portability | ghc | Stability | experimental | Maintainer | benedikt.huber@gmail.com |
|
|
|
Description |
Compile time input abstraction for the parser.
Supports either ByteString or String.
|
|
Synopsis |
|
|
|
Documentation |
|
|
|
|
read a file into an InputStream
|
|
|
convert InputStream to String
|
|
|
convert a String to an InputStream
|
|
|
(c,is') = takeChar is reads and removes
the first character c from the InputStream is
|
|
|
return True if the given input stream is empty
|
|
|
str = takeChars n is returns the first n characters
of the given input stream, without removing them
|
|
|
countLines returns the number of text lines in the
given InputStream
|
|
Produced by Haddock version 2.6.0 |