patch applied (ghc-6.8/packages/base): Tweak the definition of (^) again

Don Stewart dons at galois.com
Sun Jun 1 14:16:44 EDT 2008


igloo:
> Sun Jun  1 05:07:59 PDT 2008  Ian Lynagh <igloo at earth.li>
>   * Tweak the definition of (^) again
>   This fixes trac #2306 (do the minimum number of (*)s), and also means
>   that we don't use the value of (1 :: a) which causes problems if the
>   Num a definition isn't complete.
> 
>     M ./GHC/Real.lhs -4 +8

Btw, do we have tests for these new definitions of (^).

QuickCheck properties perhaps?

-- Don


More information about the Cvs-libraries mailing list