On 11/2/11 9:24 AM, Jean-Marie Gaillourdet wrote:
Hi Eugene,

did you try using the SPECIALIZE pragma? It is part of the Haskell 98 and 
Haskell 2010 specifications.

The problem with SPECIALIZE is that you still have to give a parametric definition for the function, whereas the whole point of specializing realToFrac is in order to use non-parametric definitions like the built-in machine ops.

--
Live well,
~wren

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

Reply via email to