
8 Oct
2010
8 Oct
'10
2:59 p.m.
On Sun, Sep 26, 2010 at 12:28 PM, Simon Marlow
On 24/09/10 23:20, Bas van Dijk wrote:
I just extended the patch with two more throw-to-throwIO replacements in GHC/IO.hs.
We should be using throwIO rather than throw in an IO context, so if there are no objections I'll test and apply the patch. It's not an API or a functionality change, so I don't think the full libraries proposal process is warranted here.
I'm sure none of these are actually bugs, but it's good practice to use throwIO. Unfortunately there's no easy way to get the type system to tell us.
Cheers, Simon
Thanks Simon, I created a ticket for this so we don't forget: http://hackage.haskell.org/trac/ghc/ticket/4380 Bas