Re: [Haskell-cafe] A new code search engine

2007-02-19 Thread Mathew Mills
lang:haskell seems to work just fine for me. On 2/14/07, Adam Peacock [EMAIL PROTECTED] wrote: On 2/14/07, Stephane Bortzmeyer [EMAIL PROTECTED] wrote: http://www.krugle.com/ Unlike Google, you can specify Haskell as a language. It is true that you can't directly specify the programming

Re: [Haskell-cafe] Summer of Code

2007-02-15 Thread Mathew Mills
Google just announced the 2007 SoC http://code.google.com/soc/ On 2/15/07, Chris Kuklewicz [EMAIL PROTECTED] wrote: Donald Bruce Stewart wrote: If anyone *can* make HsJudy install and work, could you put this information on the haskell wiki? -- Chris I'd just ping the auhtor, host the

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

2006-10-26 Thread Mathew Mills
, 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 diff

getting the -B topdir for a GHC-API app

2006-10-22 Thread Mathew Mills
What is the right way to get the topDir for use with the GHC API. I have a little app that I would like to cabalize and release, but I am not sure what is the approved way of getting the '-B' option set-up. I think it would be great if I could use template-haskell to insert the topDir

Re: Link errors when using the GHC API

2006-10-11 Thread Mathew Mills
Interesting. I was unable to reproduce your problem. What platform are you running on? Are you using a binary distribution or one you built from source? Seems like something didn't build right... You might use 'nm' to examine your libHSCabal.a to see if a similarly named symbol is

Re: Using GHC-as-a-library

2006-10-05 Thread Mathew Mills
check out main/SysTools.lhs. Looks like it uses some heuristic to decide whether GHC is installed or not. I suspect your test app is running from a location it considers to be part of the build-tree. Look at initSysTools and findTopDir. On Oct 5, 2006, at 4:43 AM, Martin Grabmueller

Re: GHC on MacOS

2006-10-02 Thread Mathew Mills
I won't have an Intel mac for another 30 days or so. I intend to do whatever it takes to get a working ghc 6.6 on that platform. Is no one working on this port? It seems to me that this should be a very simple port ( as simple as GHC ports get... ). I am surprised it isn't done yet.

Re: [Haskell] rawSystem unpredictable with signals

2006-07-06 Thread Mathew Mills
Ctrl-C sends signals to the entire process-group, in which case various race conditions may result. Have your experimented by killing just the child process with 'kill -INT pid'? On Thursday, July 06, 2006, at 11:15AM, John Goerzen [EMAIL PROTECTED] wrote: On Thu, Jul 06, 2006 at 04:09:43PM

Re: [Haskell-cafe] Fibonacci numbers generator in Haskell

2006-06-16 Thread Mathew Mills
I guess I don't get any points for an approximate solution, ay? Is there anything that can be done (easily) to reduce the rounding errors? On 6/15/06 11:23 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: G'day all. Quoting Mathew Mills [EMAIL PROTECTED]: How about the closed form

Re: [Haskell-cafe] Fibonacci numbers generator in Haskell

2006-06-15 Thread Mathew Mills
How about the closed form ;) -- fib x returns the x'th number in the fib sequence fib :: Integer - Integer fib x = let phi = ( 1 + sqrt 5 ) / 2 in truncate( ( 1 / sqrt 5 ) * ( phi ^ x - phi' ^ x ) ) Seems pretty quick to me, even with sqrt and arbitrarily large numbers. On

Re: [Haskell-cafe] Editors for Haskell

2006-05-29 Thread Mathew Mills
With Haskell's lovely strong static typing, it is a crying shame we don't have an editor with immediate feedback, ala Eclipse. On 5/29/06 6:55 PM, Bjorn Bringert [EMAIL PROTECTED] wrote: Hi Chris, I followed your advice and tried SubEthaEdit. It seems to work really well, except that I