Re: [Haskell-cafe] Number 1, at least for now

2006-02-02 Thread Gour
On Wed, 2006-02-01 at 19:14 -0800, John Meacham wrote: though, I think this is a great oprotunity to improve ghc's optimizer. Huh, that would be the best thing with the whole shootout endeavour.. Sincerely, Gour signature.asc Description: This is a digitally signed message part

RE: [Haskell-cafe] Number 1, at least for now

2006-02-02 Thread Simon Peyton-Jones
| though, I think this is a great oprotunity to improve ghc's optimizer. | | Huh, that would be the best thing with the whole shootout endeavour.. Yes indeed. One thing that would be really helpful, as a first step, would be to identify a bunch of concrete examples that GHC should have

[Haskell-cafe] Haskell and JVM (was: EclipseFP (Haskell IDE) 0.9.1 released)

2006-02-02 Thread Graham Klyne
Thiago Arrais wrote: There is one issue, though, that touches a lot of sensitive areas. The Eclipse platform runs inside a Java Virtual Machine. Unfortunately, there isn't currently a way to compile Haskell to the JVM (at least I don't know of any, if someone knows, please let me know). This

Re[2]: [Haskell-cafe] EclipseFP (Haskell IDE) 0.9.1 released

2006-02-02 Thread Bulat Ziganshin
Hello Graham, Thursday, February 02, 2006, 1:15:44 PM, you wrote: GK So is there a compelling feature in this Eclipse plugin that isn't easily GK achieved using simpler tools? it's a list of what-i-want-from-the-IDE: * autogeneration of prototypes GK I don't know what you mean by this.

Re: [Haskell-cafe] Haskell and JVM

2006-02-02 Thread Arnaud Bailly
Hello, I stumbled upon your discussion on haskell-cafe and this theme seems to pop up one time or another. If someone is interested, I have some Java code for compiling Haskell98 to bytecode that I would be more than willing to share. It is not in the best shape and does not implement all of

Re: [Haskell-cafe] Haskell and JVM

2006-02-02 Thread Neil Mitchell
Hi, up one time or another. If someone is interested, I have some Java code for compiling Haskell98 to bytecode that I would be more than willing to share. It is not in the best shape and does not implement You might also be interested in: http://www.brianweb.net/personal/blog/entry.php?id=18

Re: [Haskell-cafe] Haskell and JVM

2006-02-02 Thread Krasimir Angelov
Questions about Haskell for JVM or .NET was asked quite often and it is really interesting question. Since the JVM and .NET machines have a lot of common if there was a compiler for one of them then it can retargeted to the other quite easily. The major problem with such compilers is the

[Haskell-cafe] Re: Haskell code for this example of flow control

2006-02-02 Thread Maurício
Donald Bruce Stewart wrote: briqueabraque: Hi, I would like to know what options I have in Haskell to do something similar to this C++ code: double a = 1000; while (a1) a/=2; I'm able to do that with lists, but I would like to know how to do that with monads and variables with state.

Re: [Haskell-cafe] Re: Haskell code for this example of flow control

2006-02-02 Thread Chris Kuklewicz
Maurício wrote: I understand those examples, but I really would like to know how to do that with monads. I would like to ask the same question, but now with this code: double a = 1000; double b = 0; while (a != b) { a /= 2; cout a; // Prints a cin b; // User gives a

Re: [Haskell-cafe] Known Unknowns

2006-02-02 Thread Isaac Gouy
--- Ketil Malde [EMAIL PROTECTED] wrote: Isaac Gouy [EMAIL PROTECTED] writes: Programmer skill and effort really does matter ;-) Yes, more so, than any inherent language disadvantage, perhaps, which happens to be the general lesson from the ICFP contests as well. Any idea if other

Re: [Haskell-cafe] Re: Haskell code for this example of flow control

2006-02-02 Thread Kurt Hutchinson
On 2/2/06, Maurício [EMAIL PROTECTED] wrote: I understand those examples, but I really would like to know how to do that with monads. I would like to ask the same question, but now with this code: double a = 1000; double b = 0; while (a != b) { a /= 2; cout a; // Prints a

Re: [Haskell-cafe] Number 1, at least for now

2006-02-02 Thread Wolfgang Jeltsch
Am Mittwoch, 1. Februar 2006 08:22 schrieb Donald Bruce Stewart: Haskell is now ranked number 1 on the Great Language Shootout! http://shootout.alioth.debian.org/gp4/benchmark.php?test=alllang=all Hooray :) -- Don It seems to be number 2 at the moment. Best wishes, Wolfgang

Re: [Haskell-cafe] Number 1, at least for now

2006-02-02 Thread Wolfgang Jeltsch
Am Donnerstag, 2. Februar 2006 04:26 schrieb Donald Bruce Stewart: [...] A good packed string regex library would also be useful. But only one that gives us regular expressions which are parsed at compile time instead of runtime. [...] Best wishes, Wolfgang

Re: [Haskell-cafe] Number 1, at least for now

2006-02-02 Thread Sebastian Sylvan
On 2/2/06, Wolfgang Jeltsch [EMAIL PROTECTED] wrote: Am Mittwoch, 1. Februar 2006 08:22 schrieb Donald Bruce Stewart: Haskell is now ranked number 1 on the Great Language Shootout! http://shootout.alioth.debian.org/gp4/benchmark.php?test=alllang=all Hooray :) -- Don It seems

Re: [Haskell-cafe] Number 1, at least for now

2006-02-02 Thread Isaac Gouy
--- Sebastian Sylvan [EMAIL PROTECTED] wrote: It seems to be number 2 at the moment. It looks like it, all of a sudden, has one missing benchmark. Did something break? Previously the GHC program was shown incorrectly as completing regex-dna within the timeout - now it's shown correctly.

Re: [Haskell-cafe] Known Unknowns

2006-02-02 Thread Chris Kuklewicz
Joel Koerwer wrote: Don, that's a great little mini tutorial, exactly what I was hoping for. I'm looking forward to learning more tricks. On an unrelated note, I have an STUArray nbody. I haven't really looked closely at the chris+dons version, but I suspect they amount to doing the same

Re: [Haskell-cafe] Known Unknowns

2006-02-02 Thread Donald Bruce Stewart
haskell: Joel Koerwer wrote: Don, that's a great little mini tutorial, exactly what I was hoping for. I'm looking forward to learning more tricks. On an unrelated note, I have an STUArray nbody. I haven't really looked closely at the chris+dons version, but I suspect they amount to

Re: [Haskell-cafe] Haskell to call Microsoft COM (Dispatch)

2006-02-02 Thread Marc Weber
On Mon, Jan 30, 2006 at 08:40:43PM +0100, Gracjan Polak wrote: Hi all, Is there any library to make Haskell call Microsoft COM functions using Dispatch? E.g I don't need the full COM binary functionality, scripting is enough. Google didn't seem to find anything interesting...

Re: [Haskell-cafe] Known Unknowns

2006-02-02 Thread Joel Koerwer
Hey this is great. Chris your improvements are awesome. I mean the speed is nice, but you really cleaned up the code. There's an extraneous call to energy in the second runST block, but it should be insignificant. Also, -fglasgow-exts is necessary for the left-hand-side type declarations of size