Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 489 Bytes


No code changes, added doctests of fromSci and showSci for -0.038.


Initial version with;

  • toSci and fromSci for converting Rational to and from Scientific.
  • showSci for showing Rational as if Scientific.
  • For JSON, instances of ToJSON and FromJSON for newtype Rational that also have instances of DefaultDecimalPlaces and NewType.
  • For CSV, instances of ToField and FromField in the same way.
  • Template Haskell functions to generate instances.
You can’t perform that action at this time.