Forked from
Glasgow Haskell Compiler / GHC
1339 commits behind the upstream repository.
Ben Orchard
authored
Without an understanding of immutable vs. mutable memory, the index primop family have a potentially non-intuitive type signature: indexOffAddr :: Addr# -> Int# -> a readOffAddr :: Addr# -> Int# -> State# d -> (# State# d, a #) indexOffAddr# might seem like a free generality improvement, which it certainly is not! This change adds a brief note on mutability expectations for most index/read/write access primops.
Name | Last commit | Last update |
---|---|---|
.. | ||
AccessOps.hs | ||
Lexer.x | ||
Main.hs | ||
Makefile | ||
Parser.y | ||
ParserM.hs | ||
Syntax.hs | ||
genprimopcode.cabal |