[GHC] #15349: fixST is a bit wrong
GHC
ghc-devs at haskell.org
Wed Jul 25 02:35:04 UTC 2018
#15349: fixST is a bit wrong
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner: dfeuer
Type: bug | Status: merge
Priority: normal | Milestone: 8.6.1
Component: Core Libraries | Version: 8.5
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4948
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by dfeuer):
Note: the crazy implementation above never actually needs to `takeMVar`;
`readMVar` should be sufficient. So `IVar`s would be sufficient. But to
get close to something practical, we need to avoid `forkIO`. Maybe I can
do that; I'm not sure.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15349#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list