Link error under solaris 8

2006-10-26 Thread Christian Maeder
Hi, I get a link error under sparc sun Solaris 8, when linking my stage2 compiler. I have "undefined reference to" a couple of mathematical function like powf, tanhf, coshf, sinhf, atanf, acosf, asinf, tanf, cosf, sinf, sqrtf, logf, and expf Is libm version 2 needed? The stage1 compiler was conte

Difference between errorCalls and userErrors

2006-10-26 Thread Andreas Marth
Hi! In module Control.Exception there are the exception predicates errorCalls and userErrors defined. Is there any difference between them? Which one? Thanks for any explanations, and maybe it should be documented in more detail? Kind regards, Andreas ___

Re: Difference between errorCalls and userErrors

2006-10-26 Thread Donald Bruce Stewart
Andreas-Haskell: > Hi! > > In module Control.Exception there are the exception predicates errorCalls > and userErrors defined. Is there any difference between them? Which one? > They match different kinds of exceptions, errorCalls (ErrorCall e) = Just e errorCalls _ = Nothing a

instance Data (Complex a)

2006-10-26 Thread Chad Scherrer
I was playing around with the Data.Generics stuff, and I'm getting an error that says No instance for (Data (Complex Double)) Looking at the source for Data.Complex, I see it is an instance of Typeable, but not of Data. Is there a reason not to add "deriving Data" on the end of this? Thanks, Ch

OS X - Haskell to Objective-C Binding on GHC 6.6

2006-10-26 Thread Charlie Conklin
Is anyone out there running OS X and using HOC and GHC 6.6? I took the latest from cvs and got some way toward getting it to compile by changing the code to: 1. reflect changes regarding packages, i.e. adding -package-name to the pertinent makefiles, and accommodating the changed signature of Lang

Re: OS X - Haskell to Objective-C Binding on GHC 6.6

2006-10-26 Thread Mathew Mills
I just succeeded in building HOC from CVS HEAD against ghc-6.6 on x86 Mac OS X last night. I didn't encounter that specific problem, though. I can send you a cvs diff if that would help. On Oct 26, 2006, at 10:15 AM, Charlie Conklin wrote: Is anyone out there running OS X and using HOC and

Re: OS X - Haskell to Objective-C Binding on GHC 6.6

2006-10-26 Thread Rodney D Price
Mathew, Would you be willing to send me a cvs diff as well? Thanks, -Rod On Oct 26, 2006, at 2:08 PM, Mathew Mills wrote: I just succeeded in building HOC from CVS HEAD against ghc-6.6 on x86 Mac OS X last night. I didn't encounter that specific problem, though. I can send you a cvs di

Re: OS X - Haskell to Objective-C Binding on GHC 6.6

2006-10-26 Thread Mathew Mills
My diff can be found here: http://mathewmills.com/HOC/cvsdiff.patch Several of the changes were naive and not required, particularly in the Samples directories. IANAHE ( I am not a Haskell expert ), so who knows what I broke... On Oct 26, 2006, at 1:19 PM, Rodney D Price wrote: Mathew,