bishbosh-0.0.0.5: 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 Source #

Arguments

:: (Enum x, Enum y, Ord x, Ord y, Show x, Show y) 
=> FilePath 
-> IsStrictlySequential 
-> ValidateMoves 
-> TextEncoding

The conversion-scheme between byte-sequences & Unicode characters.

-> [Tag] 
-> IO (Either String (PGNDatabase x y)) 

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