Ben Gamari
authored
Previously we had a very aggressive Core Lint check which caught unsaturated applications of runRW#. However, there is nothing wrong with such applications and they may naturally arise in desugared Core. For instance, the desugared Core of Data.Primitive.Array.runArray# from the `primitive` package contains: case ($) (runRW# @_ @_) (\s -> ...) of ... In this case it's almost certain that ($) will be inlined, turning the application into a saturated application. However, even if this weren't the case there isn't a problem: CorePrep (after deleting an unnecessary case) can simply generate code in its usual way, resulting in a call to the Haskell definition of runRW#. Fixes #18291.
Name | Last commit | Last update |
---|---|---|
.. | ||
base | ||
doc | ||
ghc-bignum | ||
ghc-boot-th | ||
ghc-boot | ||
ghc-compact | ||
ghc-heap | ||
ghc-prim | ||
ghci | ||
integer-gmp | ||
libiserv | ||
template-haskell | ||
Cabal @ 32dad5c1 | ||
Win32 @ ca5fbc12 | ||
array @ ab535173 | ||
binary @ dfaf7805 | ||
bytestring @ e6cb01e2 | ||
containers @ aaeda192 | ||
deepseq @ 13c1c844 | ||
directory @ 3d9ca6ed | ||
exceptions @ 23c0b8a5 | ||
filepath @ 9088df9f | ||
haskeline @ 5f16b761 | ||
hpc @ 772de3f7 | ||
mtl @ c7d39673 | ||
parsec @ 19049249 | ||
pretty @ c3a14693 | ||
process @ cb1d1a6e | ||
stm @ 444f6724 | ||
terminfo @ 3ebb36f4 | ||
text @ 80cb9ee2 | ||
time @ 5319bed3 | ||
transformers @ def8c55d | ||
unix @ ea13d990 | ||
xhtml @ 721779ac | ||
Makefile | ||
defineTOP.mk | ||
gen_contents_index | ||
hscolour.css | ||
libraries-footer.txt | ||
libraries-header.txt | ||
prologue.txt.in |