
On Thu, Jan 1, 2009 at 10:39 AM, Sebastiaan Visser
On Jan 1, 2009, at 7:15 PM, Gwern Branwen wrote:
On Thu, Jan 1, 2009 at 9:04 AM, Sebastiaan Visser wrote:
Happy new year, you all!
I'm pleased to announce three new packages on Hackage: ...
Miscellaneous comments: 1) You're right about cabal-install versus runhaskell etc. There seems to be a(nother) Control.Exception issue with cabal-install using base-4: src/Network/Orchid/Backend/DarcsBackend.hs:91:29: Couldn't match expected type `IOException' against inferred type `Exception' Expected type: IO (Either IOException String) Inferred type: IO (Either Exception String) In the second argument of `()', namely `(try (U.readFile (repo /+ file)) :: IO (Either IOException String))' In the expression: eitherToMaybe
(try (U.readFile (repo /+ file)) :: IO (Either IOException String))
I tried to enable building against both the old and the new Exception libraries by using some preprocessor statements. It seems this attempt failed.
You may find the extensible-exceptions package from Hackage to be useful. It provides the new Exeptions API on all versions of ghc since 6.6 (and possibly earlier), so you don't have to deal with any preprocessing or cabal-install issues. -Judah