On Sun, 09 Nov 2003 01:11:09 +0100
"Marcin 'Qrczak' Kowalczyk" <[EMAIL PROTECTED]> wrote:
> realToFrac :: (Fractional b, Real a) => a -> b
> 
> It is actually defined as fromRational . toRational but GHC knows to
> generate specialized code for particular types.

Oops, I was looking through the prelude but somehow missed these
functions.  Thank you.


-- 
Ben Escoto
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to