bishbosh-0.1.4.0: Plays chess.
Safe HaskellNone
LanguageHaskell2010

BishBosh.Type.Mass

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
  • Defines distinct types for various mass (uncountable) quantities.
  • These prevent accidental conflation between conceptually different quantities.
Synopsis

Types

Type-synonyms

type Base = Double Source #

The underling type.

type CriterionWeight = Base Source #

The type by which to weight criteria.

type CriterionValue = CriterionWeight Source #

The type by which to value criteria.

type WeightedMean = CriterionValue Source #

The type by which to represent fitness.

type RankValue = Base Source #

The type by which to represent the value of a rank.

type PieceSquareValue = Base Source #

The type by which to represent a piece-square value.

Functions

Constructors

Orphan instances

XmlPickler Double Source # 
Instance details

Methods

xpickle :: PU Double #