Changelog History
-
v0.5.1 Changes
Bankers' Rounding implemented in "roundTo". This rounds values ending in "5" to the nearest even number, in line with the behaviour of "Prelude.round". This is potentially a breaking change for software that depends on the old behavior, so the minor version number has been bumped.
โ Added a
stack.yaml
file.๐ Corrected documentation.
Read
instance now handles leading spaces properly.๐ Fixed compiler warnings in test suite.
โ Added
roundTo'
which allows fortruncate
,floor
andceiling
behaviour when rounding.
-
v0.4.1 Changes
๐ Improved
Read
instance. Now handles"1.2e3"
andreads
only returns a single parse.๐ Corrected documentation.
โ Added
Enum
instance.decimalConvert
now returns a Maybe value. The old version has been renamed to "unsafeDecimalConvert.
-
v0.3.1 Changes
โ Added
Typeable
,Fractional
andRealFrac
instances.Multiplication now returns an exact result, increasing precision if necessary.
These changes alter the API. Hence the increment to the major version number.
Thanks to Alexey Uimanov (s9gf4ult at gmail.com).
-
v0.2.3 Changes
- โ Added instance of
NFData
fromControl.DeepSeq
, and hence a dependency ๐ฆ on thedeepseq
package, thanks to Jeff Shaw (shawjef3 at msu.edu).
- โ Added instance of
-
v0.2.2 Changes
- ๐ Minor fixes to allow compilation under other versions of GHC.
-
v0.2.1 Changes
๐ Fixed
base
dependency.โ Put test suite under
cabal test