#2325: Compile-time computations
--------------------------------------+-------------------------------------
Reporter: ajd | Owner:
Type: run-time performance bug | Status: new
Priority: normal | Milestone: 6.10 branch
Component: Compiler | Version: 6.8.2
Severity: normal | Resolution:
Keywords: constant folding | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
--------------------------------------+-------------------------------------
Comment (by Isaac Dupree):
Couldn't the desugarer treat them as Integers and the code generator deal
with it later? (this assumes that GHC's integers and the boot-lib integers
are extensionally equivalent, which should be a reasonable assumption!)
(I'm sure I'm just being naive here? But do we really necessarily lose
out for treating Integers as a unit we can understand rather than a
composition of Int#s?)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2325#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs