| Copyright | © 2016 Mark Karpov |
|---|---|
| License | BSD 3 clause |
| Maintainer | Mark Karpov <markkarpov@openmailbox.org> |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Text.CueSheet.Parser
Description
The modules contains just CUE sheet parser. You probably want to import Text.CueSheet instead.
- parseCueSheet :: String -> ByteString -> Either (ParseError Char Eec) CueSheet
- data CueParserFailure
- data Eec = Eec (Maybe Natural) (Maybe CueParserFailure)
Documentation
Arguments
| :: String | File name to include in error messages |
| -> ByteString | CUE sheet to parsec as a lazy |
| -> Either (ParseError Char Eec) CueSheet |
|
Parse a CUE sheet from a lazy ByteString.
data CueParserFailure Source #
Enumeration of all failures that may happen during run of
parseCueSheet.
Extended error component with support for storing number of track declaration in which a parsing error has occurred.
Constructors
| Eec (Maybe Natural) (Maybe CueParserFailure) |