-
Fixed
base
dependency. -
Put test suite under
cabal test
- Minor fixes to allow compilation under other versions of GHC.
- Added instance of
NFData
fromControl.DeepSeq
, and hence a dependency on thedeepseq
package, thanks to Jeff Shaw (shawjef3 at msu.edu).
-
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).
-
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.
-
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.