> The difference is indeed along those lines: IO.bracket only catches IO
> exceptions, because Haskell 98 only had IO exceptions; IO.bracket is
> a Haskell 98 function, we keep it around for backwards compatibility
> only, I don't recommend using it except in a program that is supposed
> to be pure Haskell 98.

Simon,

Is there a way to request that ghc (6.6) flag all the uses of
IO.bracket in Darcs?  There's a lot of places where we're using
IO.bracket and should be using C.E.bracket, and I'd like to clean it
up at some point.

Another thing I'd like to be able to do is to flag all uses of a given
instance of a method in a type class.  The case in point is that we're
using the instance

  show :: Control.Exception.Exception -> String

in quite a lot of places, and most of these are incorrect.

If there isn't, please consider this as a future request.

Thanks,

                                        Juliusz

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to