goatee-0.1.0: A monadic take on a 2,500-year-old board game - library.

Safe HaskellNone

Game.Goatee.Sgf.Parser

Description

A parser for reading SGF files.

Synopsis

Documentation

parseString :: String -> Either String CollectionSource

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.