[Haskell-cafe] SCC accounting

2006-02-01 Thread Andrew Pimlott
We've been trying to track down a memory leak, and by adding SCC annotations, pinned it down to a very brief expression. Unfortunately, the expression is just a variable! We even looked at the generated core: (case ([Soutei.Term Logic.BodyVar] - (...) - Logic.Frame

Re: [Haskell-cafe] SCC accounting

2006-02-01 Thread Andrew Pimlott
On Wed, Feb 01, 2006 at 12:28:59AM -0800, Andrew Pimlott wrote: The Haskell code looks like predQuery pred = case lookup pred ctxIdx of Just f - {-# SCC pq.foo' #-} f Note that f is a function, which we expect to be expensive when it is called. However, that should be charged to the

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

2006-02-01 Thread Sebastian Sylvan
On 2/1/06, Donald Bruce Stewart [EMAIL PROTECTED] wrote: Haskell is now ranked number 1 on the Great Language Shootout! http://shootout.alioth.debian.org/gp4/benchmark.php?test=alllang=all Hooray :) That is neat. Mostly for dispelling the pure lazy fp is inherently slow argument. It's

Re: [Haskell-cafe] Known Unknowns

2006-02-01 Thread Chris Kuklewicz
Donald Bruce Stewart wrote: This entry in fact runs faster than the original (though not the new vectorised entry) optimised C entry (and faster than all other languages): http://shootout.alioth.debian.org/gp4/benchmark.php?test=partialsumslang=all So, by carefully tweaking things,

[Haskell-cafe] Re: unary pattern matching

2006-02-01 Thread Simon Marlow
John Meacham wrote: On Fri, Jan 27, 2006 at 04:57:14AM -0500, Cale Gibbard wrote: Or if we're going to allow @ as an infix operator, we could use (@ pat), reminiscent of section notation. (exp @) of course would make no sense, seeing as there's no representation for patterns as values. oooh.

[Haskell-cafe] Re: SCC accounting

2006-02-01 Thread Simon Marlow
Andrew Pimlott wrote: On Wed, Feb 01, 2006 at 12:28:59AM -0800, Andrew Pimlott wrote: The Haskell code looks like predQuery pred = case lookup pred ctxIdx of Just f - {-# SCC pq.foo' #-} f Note that f is a function, which we expect to be expensive when it is called. However, that should be

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

2006-02-01 Thread Graham Klyne
Thiago Arrais wrote: EclipseFP 0.9.1 has been released since last Friday. It is an open-source development environment for Haskell code. EclipseFP integrates GHC with an Haskell-aware code editor and also supports quick file browsing through an outline view, automatic building/compiling and

Re[2]: [Haskell-cafe] Known Unknowns

2006-02-01 Thread Bulat Ziganshin
Hello Donald, Wednesday, February 01, 2006, 8:00:04 AM, you wrote: DBS Here's a brief introduction. I intend to write up (on the performance page on DBS the wiki) a list of things we've done to improve the shootout entries. N.B DBS we're now the 3rd *fastest* language, behind C and only a little

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

2006-02-01 Thread Duncan Coutts
On Wed, 2006-02-01 at 13:21 +, Graham Klyne wrote: Thiago Arrais wrote: EclipseFP 0.9.1 has been released since last Friday. It is an open-source development environment for Haskell code. EclipseFP integrates GHC with an Haskell-aware code editor and also supports quick file

Re: [Haskell-cafe] Known Unknowns

2006-02-01 Thread Chris Kuklewicz
Bulat Ziganshin wrote: Hello Donald, Wednesday, February 01, 2006, 8:00:04 AM, you wrote: DBS Here's a brief introduction. I intend to write up (on the performance page on DBS the wiki) a list of things we've done to improve the shootout entries. N.B DBS we're now the 3rd *fastest*

Re: [Haskell-cafe] Known Unknowns

2006-02-01 Thread Isaac Gouy
--- Chris Kuklewicz [EMAIL PROTECTED] wrote: -snip,snip- It is 3rd fastest. Looking at Just Memory Use, Haskell is 8th Looking at Just Lines Of Code, Haskell is 1st Lookat at the 1:1:1 even balance Haskell is 1st Programmer skill and effort really does matter ;-) Congratulations.

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

2006-02-01 Thread Thiago Arrais
2006/2/1, Graham Klyne [EMAIL PROTECTED]: [I should say that I haven't yet actually tried this software, though I'd like to do so when I get some time.] I really hope you find the time to do so. We would be glad to be hearing from you again. One of the features of Haskell that I like is that

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

2006-02-01 Thread Jared Updike
I would use recrusion and the Prelude function until: until (=1) (/2) 1000 Cheers, Jared. -- http://www.updike.org/~jared/ reverse )-: ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe