progress on Darwin x86 port?

2006-06-27 Thread Rodney D Price
Hi, Some time ago I persuaded my employer to buy me a new Intel-based Mac. While it runs fast, it doesn't compile many open-source programs, including ghc. On perusing the list archives, I found one or two people working on a port. What's the status? Right now I'm writing Haskell code

Re: progress on Darwin x86 port?

2006-06-27 Thread rfh
Take a look here: http://hackage.haskell.org/trac/ghc/wiki/X86OSXGhc -reilly hayes From Rodney D Price [EMAIL PROTECTED] on 27 Jun 2006: Hi, Some time ago I persuaded my employer to buy me a new Intel-based Mac. While it runs fast, it doesn't compile many open-source programs,

Re: progress on Darwin x86 port?

2006-06-27 Thread Rodney D Price
Thanks! I first downloaded the binary from pugs.blogs.com and installed it. When I tried to compile a small program, I got this: ghc -o hello hello.hs dyld: Library not loaded: GMP.framework/Versions/A/GMP Referenced from: /usr/local/lib/ghc-6.5.20060608/ghc-6.5.20060608 Reason: no

[Haskell] haxr troubles - solved

2006-06-27 Thread Johannes Waldmann
Björn has just made a new release http://www.haskell.org/haxr/download/haxr-20060626.tar.gz that solves the problems I mentioned. Thanks! -- -- Johannes Waldmann -- Tel/Fax (0341) 3076 6479/80 -- http://www.imn.htwk-leipzig.de/~waldmann/ ---

Re: [Haskell] Google SoC: Software Transactional Memory for Parrot

2006-06-27 Thread Taral
On 6/27/06, Ralf Lammel [EMAIL PROTECTED] wrote: No need to wait: http://doitest.acm.org/10.1145/1094811.1094814 We show that existing object-oriented programming languages such as Java and C# can express GADT definitions, and a large class of GADT-manipulating programs, through the use of

RE: [Haskell] Google SoC: Software Transactional Memory for Parrot

2006-06-27 Thread Bayley, Alistair
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Lammel Bulat wrote: it seems that Haskell continues to be a source of new technologies for other languages. i will wait for GADT for C# :) No need to wait: http://doitest.acm.org/10.1145/1094811.1094814 We show

[Haskell] Comments from Brent Fulgham on Haskell and the shootout

2006-06-27 Thread Simon Marlow
Brent Fulgham has given me permission to share this message that he sent to us about his views on Haskell and the Great Computer Language Shootout. There's some nice advocacy material in here. I'd like to publicly thank Brent for all his work on the shootout - benchmarking 50 or so different

Re: [Haskell] Comments from Brent Fulgham on Haskell and the shootout

2006-06-27 Thread Bulat Ziganshin
Hello Simon, Tuesday, June 27, 2006, 1:44:45 PM, you wrote: I wanted to write to inform you how shocked I was to see the great advances in performance in the Glorious Haskell Compiler over the last year or so. Of course, we have also benefited from some great contributions by the folks

[Haskell] Re: Comments from Brent Fulgham on Haskell and the shootout

2006-06-27 Thread Simon Marlow
Bulat Ziganshin wrote: Tuesday, June 27, 2006, 1:44:45 PM, you wrote: I wanted to write to inform you how shocked I was to see the great advances in performance in the Glorious Haskell Compiler over the last year or so. Of course, we have also benefited from some great contributions by

Re: [Haskell] Google SoC: Software Transactional Memory for Parrot

2006-06-27 Thread Jared Updike
Am I the only one whose first instinct upon reading this is EW!? You are not the only one, judging from my own experience. I made my own sort of algebraic datatypes / abstract datatypes in C# by using Enums and Objects and runtime casts. It works, but the code itself is hairy. I guess the good

Re: [Haskell] Google SoC: Software Transactional Memory for Parrot

2006-06-27 Thread Audrey Tang
在 2006/6/27 上午 12:09 時,Bulat Ziganshin 寫到: Software Transactional Memory for Parrot by Charles Albert Reiss, mentored by Leopold Toetsch (mentioned on http://code.google.com/soc/tpf/about.html ) it seems that Haskell continues to be a source of new technologies for other languages. Yeah,

Re: [Haskell] Re: Comments from Brent Fulgham on Haskell and the shootout

2006-06-27 Thread John Meacham
On Tue, Jun 27, 2006 at 02:58:05PM +0100, Simon Marlow wrote: .. (and jhc already generates native C code, so it will have at least one substantial advantage over GHC) ... Compiling via C is a dead end. We realised this about 5 years ago, and yet we still haven't managed to shake off the C

Re: [Haskell] Graphing community activity

2006-06-27 Thread Donald Bruce Stewart
dons: Hey all, Inspired by a comment from Shae Erisson, I added a little 5 line script to darcs-graph[1], to display the commit activity of _remote_ darcs repositories. Here are the activity graphs for a selection of projects in the community:

Re: [Haskell-cafe] how to write an haskell binding

2006-06-27 Thread lennart
Quoting Brian Hulley [EMAIL PROTECTED]: It is defnitely *a* haskell. There is actually no word in English with a silent 'h', though this statement is unfortunately controversial and news to whoever wrote the spell checker used in many printed publications. There is no English word with a

Re[2]: [Haskell-cafe] how to write an haskell binding

2006-06-27 Thread Bulat Ziganshin
Hello Brian, Tuesday, June 27, 2006, 2:43:15 AM, you wrote: achieve a goal. One other thing to bear in mind is that foreign calls are extremely slow, so for example it is much faster to use the Foreign.Marshal.Array and Foreign.C.String functions to allocate and populate a temporary array

Re: [Haskell-cafe] Win32 GUI bindings

2006-06-27 Thread Bulat Ziganshin
Hello Jason, Tuesday, June 27, 2006, 8:48:53 AM, you wrote: but it turned out to be a real pain. I'm using visual haskell so that I have COM support (I need the version of H/Direct that ships with VisualHaskell and VisuallHaskell only ships with ghc 6.5) and that means I have to compile the

Re: [Haskell-cafe] Win32 GUI bindings

2006-06-27 Thread Jason Dagit
On 6/26/06, Bulat Ziganshin [EMAIL PROTECTED] wrote: Hello Jason, [snip] can't you ask library maintainers to compile their libs for ghc 6.5. it should come out in several months and i think it's the time when library maintainers can start to check whether new ghc version can work with their

Re: [Haskell-cafe] Win32 GUI bindings

2006-06-27 Thread Neil Mitchell
Hi Jason, As far as I am aware, the Win32 bindings are not that well maintained currently, and programming against the Win32 API is quite painful since it is a very low level, and very C like API. Gtk2Hs does require additional dependancies, but seems to be the most actively developed version.

Re: [Haskell-cafe] A question about stack overflow

2006-06-27 Thread Donald Bruce Stewart
hankgong: Hi, all I'm just a newbie for Haskell and functional programming world. The idea I currently read is quite different and interesting. I have one general question about the recursively looping style. For example: myMax [ ] = error empty list myMax

Re: [Haskell-cafe] A question about stack overflow

2006-06-27 Thread Neil Mitchell
Hi, mymax [] = undefined mymax (x:xs) = f x xs where f x [] = x f x (y:ys) | y x = f y ys | otherwise = f x ys Or if you don't want to go for a fold next, in a style more similar to the original: maximum [] = undefined maximum [x] = x

[Haskell-cafe] Re: [GHC/Base.A_o] Error 1

2006-06-27 Thread Simon Marlow
[EMAIL PROTECTED] wrote: Anyone can help me? I did some changes in the .mk and makefile files in order to integrate it with the Haskell.NET code generator but when I try to compile the following error appears: .../../ghc/compiler/ghc-inplace -H32m -O -W -fno-warn-unused-matches -fwarn-unuse

Re: [Haskell-cafe] A question about stack overflow

2006-06-27 Thread Udo Stenzel
Neil Mitchell wrote: Or if you don't want to go for a fold next, in a style more similar to the original: maximum [] = undefined maximum [x] = x maximum (a:b:xs) = maximum (max a b : xs) It even reproduces the stack overflow, though for a different reason. Better write it this way:

[Haskell-cafe] Re: Cabal and linking with static libs (.a files)

2006-06-27 Thread Ketil Malde
Simon Marlow [EMAIL PROTECTED] writes: No idea, I'm afraid. ghc -v might help you. Try cut-and-pasting the linker command line and play around with ordering of -l options. I noticed the linker is incredibly picky about the sequence of options. Anyway, I suspected that, but I couldn't seem

RE: [Haskell-cafe] A question about stack overflow

2006-06-27 Thread Huazhi (Hank) Gong
Thank you very much for introducing tail recursion. It's my first time to hear this. :) However, I'm wondering whether every loop structure from C like language can be translated to this kind of tail recursion? Yours, Hank -Original Message- From: Chris Kuklewicz [mailto:[EMAIL

Re: Re[2]: [Haskell-cafe] how to write an haskell binding

2006-06-27 Thread minh thu
Brian, Bulat, thank you, thu ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Re[2]: [Haskell-cafe] how to write an haskell binding

2006-06-27 Thread minh thu
Brian, mmm, no you wasn't missing the point : actually, i asked if we bind against c or c++. But that way, you answer the general guidelines part of the question. thx thu 2006/6/27, minh thu [EMAIL PROTECTED]: Brian, Bulat, thank you, thu ___

RE: [Haskell-cafe] A question about stack overflow

2006-06-27 Thread voigt . 16734551
--- Huazhi (Hank) Gong [EMAIL PROTECTED] wrote: Thank you very much for introducing tail recursion. It's my first time to hear this. :) However, I'm wondering whether every loop structure from C like language can be translated to this kind of tail recursion? Yes, as discovered by John

[Haskell-cafe] Re: Haskell-Cafe Digest, Vol 34, Issue 45

2006-06-27 Thread Jeremy O'Donoghue
Hi Jason. My $0.02 On 27/06/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: -- Forwarded message -- From: Jason Dagit [EMAIL PROTECTED] Requirements: Okay, so now that you know why I'm here, let me give you an idea of what my *ideal* GUI library would be for this project

Re: [Haskell-cafe] how to write an haskell binding

2006-06-27 Thread Brian Hulley
[EMAIL PROTECTED] wrote: Quoting Brian Hulley [EMAIL PROTECTED]: It is defnitely *a* haskell. There is actually no word in English with a silent 'h', though this statement is unfortunately controversial and news to whoever wrote the spell checker used in many printed publications. There is

[Haskell-cafe] Are FunPtr's stable? (was: how to write an haskell binding)

2006-06-27 Thread Brian Hulley
Bulat Ziganshin wrote: Hello Brian, Tuesday, June 27, 2006, 2:43:15 AM, you wrote: achieve a goal. One other thing to bear in mind is that foreign calls are extremely slow, so for example it is much faster to use the Foreign.Marshal.Array and Foreign.C.String functions to allocate and

Re: [Haskell-cafe] Re: how to write an haskell binding

2006-06-27 Thread Brian Hulley
Aaron Denney wrote: On 2006-06-27, Brian Hulley [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Quoting Brian Hulley [EMAIL PROTECTED]: It is defnitely *a* haskell. There is actually no word in English with a silent 'h', though this statement is unfortunately controversial and news to

Re: [Haskell-cafe] Re: how to write an haskell binding

2006-06-27 Thread Jeremy Shaw
At Tue, 27 Jun 2006 20:36:30 +0100, Brian Hulley wrote: What about words like 'hour' and 'honest'? Don't forget honor. So I'd say these two words are closely related, so the search is still on for another word with silent 'h' not related to time or integrity. How about heir? Also, until

Re: [Haskell-cafe] Re: how to write an haskell binding

2006-06-27 Thread Brian Hulley
Jeremy Shaw wrote: At Tue, 27 Jun 2006 20:36:30 +0100, Brian Hulley wrote: What about words like 'hour' and 'honest'? Don't forget honor. So I'd say these two words are closely related, so the search is still on for another word with silent 'h' not related to time or integrity. How

Re: [Haskell-cafe] Re: how to write an haskell binding

2006-06-27 Thread Bill Wood
On Tue, 2006-06-27 at 13:35 -0700, Jeremy Shaw wrote: . . . How about heir? Also, until recently, herb and humble? I grew up in the southern US, and I was taught 'herb' with silent 'h' but 'humble' with aspirated 'h'. With the 'h' silent 'humble' sounds very Dickensian to my ear. -- Bill

[Haskell-cafe] Re: [Haskell] Google SoC: Software Transactional Memory for Parrot

2006-06-27 Thread John Meacham
On Tue, Jun 27, 2006 at 08:29:21AM -0700, Jared Updike wrote: Am I the only one whose first instinct upon reading this is EW!? You are not the only one, judging from my own experience. I made my own sort of algebraic datatypes / abstract datatypes in C# by using Enums and Objects and runtime