Safe Haskell | None |
---|---|
Language | Haskell2010 |
A parser for reading SGF files.
Synopsis
- parseString :: String -> Either String Collection
- parseFile :: String -> IO (Either String Collection)
- parseSubtree :: RootInfo -> String -> Either String Node
- propertyParser :: Parser Property
Documentation
parseString :: String -> Either String Collection Source #
Parses a string in SGF format. Returns an error string if parsing fails.
parseFile :: String -> IO (Either String Collection) Source #
Parses a file in SGF format. Returns an error string if parsing fails.