summaryrefslogtreecommitdiff
path: root/compiler/codeGen
diff options
context:
space:
mode:
authorDavid Feuer <david.feuer@gmail.com>2017-01-25 21:14:54 -0500
committerDavid Feuer <David.Feuer@gmail.com>2017-01-25 21:21:01 -0500
commitc344005b2344800bee9fee1c5ca97867691b9c70 (patch)
tree1626f2d3401a1896abd858633b716eb359d3ca48 /compiler/codeGen
parent95dc6dc070deac733d4a4a63a93e606a2e772a67 (diff)
downloadhaskell-c344005b2344800bee9fee1c5ca97867691b9c70.tar.gz
Generalize the type of runRW#
* Generalize the type of `runRW#` to allow arbitrary return types. * Use `runRW#` to implement `Control.Monad.ST.Lazy.runST` (this provides evidence that it actually works properly with the generalized type). * Adjust the type signature in the definition of `oneShot` to match the one it is given in `MkId`. Reviewers: simonmar, austin, bgamari, hvr Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D3012 GHC Trac Issues: #13178
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions