[Haskell-cafe] [ANN] Haskell web server + wiki: salvia-0.0.4 +
judah.jacobson at gmail.com
Thu Jan 1 16:10:48 EST 2009
On Thu, Jan 1, 2009 at 10:39 AM, Sebastiaan Visser <sfvisser at cs.uu.nl> wrote:
> 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
>> 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:
>> (try (U.readFile (repo /+ file)) :: IO (Either IOException
> I tried to enable building against both the old and the new Exception
> libraries by using some preprocessor statements. It seems this attempt
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.
More information about the Haskell-Cafe