On 11-12-26 10:55 AM, Eugene Kirpichov wrote:
How do I most efficiently convert a Double to a Data.Fixed?

Double is an instance of Real, Fixed E12 is an instance of Fractional, they are eligible for realToFrac.

Similarly for many time types.

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

Reply via email to