Stability | provisional |
---|---|
Maintainer | iavor.diatchki@gmail.com |
Utilities for parsing content from files.
- parseFileASCII :: FilePath -> Parser (ASCII ByteString) a -> IO (Either ParseError a)
- parseFileUTF8 :: FilePath -> Parser (UTF8 ByteString) a -> IO (Either ParseError a)
- parseLargeFileASCII :: FilePath -> Parser (ASCII ByteString) a -> IO (Either ParseError a)
- parseLargeFileUTF8 :: FilePath -> Parser (UTF8 ByteString) a -> IO (Either ParseError a)
- uparseFileASCII :: FilePath -> ParserU u (ASCII ByteString) a -> u -> IO (Either ParseError a)
- uparseFileUTF8 :: FilePath -> ParserU u (UTF8 ByteString) a -> u -> IO (Either ParseError a)
- uparseLargeFileASCII :: FilePath -> ParserU u (ASCII ByteString) a -> u -> IO (Either ParseError a)
- uparseLargeFileUTF8 :: FilePath -> ParserU u (UTF8 ByteString) a -> u -> IO (Either ParseError a)
Documentation
parseFileASCII :: FilePath -> Parser (ASCII ByteString) a -> IO (Either ParseError a)Source
Parse a file containing ASCII encoded characters. This functions loads the whole file in memory.
parseFileUTF8 :: FilePath -> Parser (UTF8 ByteString) a -> IO (Either ParseError a)Source
Parse a file containing UTF8 encoded characters. This functions loads the whole file in memory.
parseLargeFileASCII :: FilePath -> Parser (ASCII ByteString) a -> IO (Either ParseError a)Source
Parse a file containing ASCII encoded characters. This functions loads the file in chunks.
parseLargeFileUTF8 :: FilePath -> Parser (UTF8 ByteString) a -> IO (Either ParseError a)Source
Parse a file containing UTF8 encoded characters. This functions loads the file in chunks.
uparseFileASCII :: FilePath -> ParserU u (ASCII ByteString) a -> u -> IO (Either ParseError a)Source
Parse a file containing ASCII encoded characters, using a parser with custom user state. This functions loads the whole file in memory.
uparseFileUTF8 :: FilePath -> ParserU u (UTF8 ByteString) a -> u -> IO (Either ParseError a)Source
Parse a file containing UTF8 encoded characters, using a parser with custom user state. This functions loads the whole file in memory.
uparseLargeFileASCII :: FilePath -> ParserU u (ASCII ByteString) a -> u -> IO (Either ParseError a)Source
Parse a file containing ASCII encoded characters, using a parser with custom user state. This functions loads the file in chunks.
uparseLargeFileUTF8 :: FilePath -> ParserU u (UTF8 ByteString) a -> u -> IO (Either ParseError a)Source
Parse a file containing UTF8 encoded characters, using a parser with custom user state. This functions loads the file in chunks.