[Haskell-cafe] Problem building HXQ on Mac OS 10.5.5

Tobias Kräntzer info at tobias-kraentzer.de
Wed Dec 3 08:22:39 EST 2008


Hi,

Am 03.12.2008 um 02:00 schrieb Gwern Branwen:
> I haven't looked at the source, so take this as off-the-cuff: try
> importing not Control.Exception but Control.OldException.

changing "Control.Exception"to "Control.OldException" didn't work. But  
changing "SomeException" to "Exception" seems to solve the problem  
(see below). At least I can now built it and use xquery.

I think these days I get more in to it and understand what I was  
doing. ;-)
Could it be a problem with the version of GHC? I'm using 6.10.1. Is  
"SomeException" still supported? At the moment I don't know how to  
look these things up.

Regard,
. . . Tobias

--
Original:
#if __GLASGOW_HASKELL__ >= 609
type E = C.SomeException
#else
type E = C.Exception
#endif

--
Modified:
type E = C.Exception

--
Tobias Kräntzer | Scharnweberstraße 52a | 10247 Berlin
Telefon: +49-30-75636668 | +49-178-1353136
XMPP: anagrom_ataf at jabber.ccc.de



More information about the Haskell-Cafe mailing list