bishbosh-0.0.0.2: Plays chess.

Safe HaskellSafe
LanguageHaskell2010

BishBosh.Property.ForsythEdwards

Contents

Description

Synopsis

Type-classes

class ReadsFEN a where Source #

An alternative to Read.

Minimal complete definition

readsFEN

Methods

readsFEN Source #

Arguments

:: ReadS a

Read a datum from FEN.

class ShowsFEN a where Source #

An alternative to Show.

Minimal complete definition

showsFEN

Methods

showsFEN Source #

Arguments

:: a 
-> ShowS

Stringify a FEN-datum.

Constants

showsNullField :: ShowS Source #

The standard way to denote the absence of a field.

showsSeparator :: ShowS Source #

The standard separator between fields in FEN.

Functions

readFEN :: ReadsFEN a => String -> a Source #

Read from FEN.

showFEN :: ShowsFEN a => a -> String Source #

Display in FEN.