bishbosh-0.1.3.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 #

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.