Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- An interface for floating-point data, which provides an alterative to
Show
.
Synopsis
- class ShowFloat a where
- showsFloat :: (Double -> ShowS) -> a -> ShowS
- showsFloatToN' :: RealFloat a => NDecimalDigits -> a -> ShowS
- showsFloatToN :: ShowFloat a => NDecimalDigits -> a -> ShowS
Type-classes
class ShowFloat a where Source #
An alternative to Show
, for floating-point data.
Instances
ShowFloat StopWatch Source # | |
Defined in BishBosh.Time.StopWatch | |
ShowFloat RankValue Source # | |
Defined in BishBosh.Metric.RankValue | |
ShowFloat WeightedMeanAndCriterionValues Source # | |
Defined in BishBosh.Metric.WeightedMeanAndCriterionValues showsFloat :: (Double -> ShowS) -> WeightedMeanAndCriterionValues -> ShowS Source # | |
ShowFloat CriteriaWeights Source # | |
Defined in BishBosh.Input.CriteriaWeights showsFloat :: (Double -> ShowS) -> CriteriaWeights -> ShowS Source # | |
ShowFloat RankValues Source # | |
Defined in BishBosh.Input.RankValues showsFloat :: (Double -> ShowS) -> RankValues -> ShowS Source # | |
ShowFloat PieceSquareTable Source # | |
Defined in BishBosh.Input.PieceSquareTable showsFloat :: (Double -> ShowS) -> PieceSquareTable -> ShowS Source # | |
ShowFloat EvaluationOptions Source # | |
Defined in BishBosh.Input.EvaluationOptions showsFloat :: (Double -> ShowS) -> EvaluationOptions -> ShowS Source # | |
ShowFloat Options Source # | |
Defined in BishBosh.Input.Options |
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.