bishbosh-0.0.0.4: Plays chess.

Safe HaskellNone
LanguageHaskell2010

BishBosh.ContextualNotation.PGNDatabase

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Parses a PGN-database.
Synopsis

Types

Type-synonyms

type PGNDatabase x y = [PGN x y] Source #

Self-documentation.

Functions

parseIO :: (Enum x, Enum y, Ord x, Ord y, Show x, Show y) => FilePath -> IsStrictlySequential -> ValidateMoves -> [Tag] -> IO (Either String (PGNDatabase x y)) Source #

Reads a PGN-database from the specified file-path.