Commits

Author Commit Message Labels Comments Date
Bryan O'Sullivan
Factor the arrayValues loop into its own function
Bryan O'Sullivan
Rewrite arrayValues to be less combinator-driven This gives us about a 20% performance increase when parsing an array-heavy input, such as json-data/geometry.json (gh-134).
Bryan O'Sullivan
Add -rtsopts to benchmarks
Bryan O'Sullivan
Ignore new cabal sandboxes
Bryan O'Sullivan
Remove sources of compiler warnings from benchmarks
Bryan O'Sullivan
Add a new benchmark datum (gh-134)
Bryan O'Sullivan
Merge
basvandijk
Fix overflow bug in scientificToNumber
Bryan O'Sullivan
Rename release notes to changelog, for Hackage compat
Bryan O'Sullivan
DotNetTime no longer requires an approx test
Bryan O'Sullivan
Fix instance of ToJSON for ZonedTime
Bryan O'Sullivan
UTCTime roundtrip does not need approximate equality
Bryan O'Sullivan
Ensure that arbitrary DiffTime values are millisecond-bounded
Bryan O'Sullivan
Fix JSON instance for UTCTime This fixes gh-158.
Bryan O'Sullivan
Fix module sorting
Bryan O'Sullivan
Merge pull request #162 from basvandijk/master Encode RealFloat numbers using Scientific.fromFloatDigits
basvandijk
Depend on scientific >= 0.1
basvandijk
Nicer ToJSON instance from Number and Integer
basvandijk
Encode RealFloat numbers using Scientific.fromFloatDigits The previous code used realToFrac (fromRation . toRational) which approximates a floating point value. For example: > toRational (1.2::Double) 5404319552844595 % 4503599627370496 If you encode this Rational number to a Scientific number and render it you get: > encode (1.2::Double) "1.1999999999999999555910790149937383830547332763671875" Using Scientific.fromFloatDigits you get the expecte…
basvandijk
Add ToJSON and FromJSON instances for Scientific
Bryan O'Sullivan
Bump dependency on scientific
basvandijk
Drop upper bound on scientific
Bryan O'Sullivan
Merge
Bryan O'Sullivan
Merge pull request #156 from basvandijk/scientific Change Number to Scientific
basvandijk
Refactor the FromJSON instance of Fixed
basvandijk
NaNs and infinite RealFloats are encoded to Null
basvandijk
Add cabal.sandbox.config to .gitignore
basvandijk
Change encoding of Rational to use full precision
basvandijk
Replace Number with Scientific Scientific numbers are floating-point numbers with arbitrary precision that are fast to parse and can be efficiently converted to/from Fractional numbers like Doubles.
Bryan O'Sullivan
Separate class definitions from instances
  1. Prev
  2. Next