Re: thenIO removal

2014-11-03 Thread Joachim Breitner
Hi, Am Sonntag, den 02.11.2014, 20:10 -0500 schrieb David Feuer: GHC.Base has a function, thenIO, that isn't used anywhere in the libraries or compiler, and isn't exported anywhere public. But for some reason, it's listed in compiler/prelude/PrelNames.lhs, which causes a validation failure

RE: thenIO removal

2014-11-03 Thread David Feuer
Simon Peyton Jones wrote: It's not a big deal. You can probably replace both those bindIOName uses with bindMName (i.e (=)), in TcRnDriver. That will just make GHCi generate code with uses of overloaded (=) that must be evaluated, rather than calling bindIO directly. It should work just

thenIO removal

2014-11-02 Thread David Feuer
GHC.Base has a function, thenIO, that isn't used anywhere in the libraries or compiler, and isn't exported anywhere public. But for some reason, it's listed in compiler/prelude/PrelNames.lhs, which causes a validation failure if I remove it. Is there a reason that a completely unused function is