Can we do something slightly nicer about (^)?

George Colpitts george.colpitts at gmail.com
Tue Apr 26 15:31:55 UTC 2016


Let's fix it for the literal 2 :) Nobody worries about overflow of x * x
when x and the result are both declared Ints

On Tue, Apr 26, 2016 at 11:55 AM Joachim Breitner <mail at joachim-breitner.de>
wrote:

> Hi,
>
> Am Dienstag, den 26.04.2016, 10:33 -0400 schrieb David Feuer:
> > Fixing this goes beyond the capabilities of RULES pragmas
>
> maybe it shouln’t:
> https://ghc.haskell.org/trac/ghc/ticket/9137
> https://ghc.haskell.org/trac/ghc/ticket/9601
>
>
> Greetings,
> Joachim
>
>
> --
> Joachim “nomeata” Breitner
>   mail at joachim-breitner.dehttps://www.joachim-breitner.de/
>   XMPP: nomeata at joachim-breitner.de • OpenPGP-Key: 0xF0FBF51F
>   Debian Developer: nomeata at debian.org
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160426/5db60280/attachment.html>


More information about the ghc-devs mailing list