bishbosh-0.1.2.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 CriterionWeight = Double Source #

The preferred type by which to weight criteria.

type CriterionValue = CriterionWeight Source #

The preferred type by which to value criteria.

type WeightedMean = CriterionValue Source #

The preferred type by which to represent fitness.

type RankValue = CriterionValue Source #

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

type PieceSquareValue = CriterionValue Source #

Orphan instances

XmlPickler Double Source # 
Instance details

Methods

xpickle :: PU Double #