Copyright | (c) 2005 Lemmih <lemmih@gmail.com> |
---|---|
License | BSD3 |
Maintainer | lemmih@gmail.com |
Stability | stable |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Deprecated: Use Data.BEncode.Reader instead
A parsec style parser for BEncoded data
Synopsis
- data BParser a
- runParser :: BParser a -> BEncode -> Either String a
- token :: BParser BEncode
- dict :: String -> BParser BEncode
- list :: String -> BParser a -> BParser [a]
- optional :: BParser a -> BParser (Maybe a)
- bstring :: BParser BEncode -> BParser String
- bbytestring :: BParser BEncode -> BParser ByteString
- bint :: BParser BEncode -> BParser Integer
- setInput :: BEncode -> BParser ()
- (<|>) :: Alternative f => f a -> f a -> f a