Can we do something slightly nicer about (^)?

David Feuer david.feuer at gmail.com
Tue Apr 26 14:33:29 UTC 2016


Every time someone writes, say, x^20, the literal exponent defaults to
Integer. This is the wrong default whenever the literal is in the Word
range. Fixing this goes beyond the capabilities of RULES pragmas, but I
imagine it would be a fairly simple thing to accomplish in the internal
rule language.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160426/c1fa9959/attachment.html>


More information about the ghc-devs mailing list