diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2022-11-09 10:33:56 +0000 |
---|---|---|
committer | Simon Peyton Jones <simon.peytonjones@gmail.com> | 2022-11-11 23:40:10 +0000 |
commit | 154c70f6c589aa6531cbeea4aa3ec06e0acaf690 (patch) | |
tree | 1d802f45b3989b51d6a44b6d2b9a0fb80713e6b4 /compiler/ghc.cabal.in | |
parent | 6b92b47fa2386ccb2f8264110ff7a827958fb7bf (diff) | |
download | haskell-154c70f6c589aa6531cbeea4aa3ec06e0acaf690.tar.gz |
Fix fragile RULE setup in GHC.Float
In testing my type-vs-constraint patch I found that the handling
of Natural literals was very fragile -- and I somehow tripped that
fragility in my work.
So this patch fixes the fragility.
See Note [realToFrac natural-to-float]
This made a big (9%) difference in one existing test in
perf/should_run/T1-359
Metric Decrease:
T10359
Diffstat (limited to 'compiler/ghc.cabal.in')
0 files changed, 0 insertions, 0 deletions