Hi Jeremy,
Sorry if I was unclear. Rational is acceptable to me as the result of a JSON parse, but Double (which Aeson uses), is not. Also acceptable would be Data.Decimal.Decimal, or maybe one of the types from Data.Fixed.

JSON doesn't specify a data type for numbers, only a format.

Jeff

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to