bishbosh-0.1.1.0: Plays chess.
Safe HaskellNone
LanguageHaskell2010

BishBosh.Property.ShowFloat

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
An interface for floating-point data, which provides an alterative to Show.
Synopsis

Type-classes

class ShowFloat a where Source #

An alternative to Show, for floating-point data.

Methods

showsFloat :: (Double -> ShowS) -> a -> ShowS Source #

Instances

Instances details
ShowFloat StopWatch Source # 
Instance details

Defined in BishBosh.Time.StopWatch

ShowFloat RankValue Source # 
Instance details

Defined in BishBosh.Metric.RankValue

ShowFloat WeightedMeanAndCriterionValues Source # 
Instance details

Defined in BishBosh.Metric.WeightedMeanAndCriterionValues

ShowFloat RankValues Source # 
Instance details

Defined in BishBosh.Input.RankValues

ShowFloat CriteriaWeights Source # 
Instance details

Defined in BishBosh.Input.CriteriaWeights

(Enum x, Enum y, Ord x, Ord y, Real pieceSquareValue, Show pieceSquareValue) => ShowFloat (PieceSquareTable x y pieceSquareValue) Source # 
Instance details

Defined in BishBosh.Input.PieceSquareTable

Methods

showsFloat :: (Double -> ShowS) -> PieceSquareTable x y pieceSquareValue -> ShowS Source #

(Enum x, Enum y, Ord x, Ord y, Real pieceSquareValue, Show pieceSquareValue) => ShowFloat (EvaluationOptions pieceSquareValue x y) Source # 
Instance details

Defined in BishBosh.Input.EvaluationOptions

Methods

showsFloat :: (Double -> ShowS) -> EvaluationOptions pieceSquareValue x y -> ShowS Source #

(Enum x, Enum y, Ord x, Ord y, Real pieceSquareValue, Show pieceSquareValue) => ShowFloat (Options pieceSquareValue x y) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

showsFloat :: (Double -> ShowS) -> Options pieceSquareValue x y -> ShowS Source #

Functions

showsFloatToN' :: RealFloat a => NDecimalDigits -> a -> ShowS Source #

Render the specified data to the specified number of decimal digits.

showsFloatToN :: ShowFloat a => NDecimalDigits -> a -> ShowS Source #

Render the specified data to the specified number of decimal digits.