Re: [Haskell-cafe] Known Unknowns

2006-01-26 Thread Chris Kuklewicz
Donald Bruce Stewart wrote: haskell: There is a new combined benchmark, partial sums that subsumes several earlier benchmarks and runs 9 different numerical calculations: http://haskell.org/hawiki/PartialSumsEntry Ah! I had an entry too. I've posted it on the wiki. I was careful to

Re: [Haskell-cafe] Known Unknowns

2006-01-26 Thread Donald Bruce Stewart
haskell: Donald Bruce Stewart wrote: haskell: There is a new combined benchmark, partial sums that subsumes several earlier benchmarks and runs 9 different numerical calculations: http://haskell.org/hawiki/PartialSumsEntry Ah! I had an entry too. I've posted it on the wiki. I

[Haskell-cafe] graphics Windows Programming

2006-01-26 Thread Andrew U. Frank
There are several graphics packages to select from... But which one is the easiest to work with for students for a ghci - windows environment. I sense that cairo / gtk2hs does not support ghci. From the HOpenGL home page I cannot find out what I would need to download for a windows

Re: [Haskell-cafe] graphics Windows Programming

2006-01-26 Thread Duncan Coutts
On Thu, 2006-01-26 at 14:25 +0100, Andrew U. Frank wrote: There are several graphics packages to select from... But which one is the easiest to work with for students for a ghci - windows environment. I sense that cairo / gtk2hs does not support ghci. At the moment we can make it work

[Haskell-cafe] unary pattern matching

2006-01-26 Thread John Meacham
I have often wanted a shorthand syntax for testing if a value matches a given pattern. I want to implement such an extension for jhc but can't decide an appropriate syntax so I thought I'd ask the group. basically I want something like /Left (Just _)/ expands to \x - case x of Left

Re: [Haskell-cafe] unary pattern matching

2006-01-26 Thread Taral
On 1/26/06, Donald Bruce Stewart [EMAIL PROTECTED] wrote: Something like pattern guards? f x | Just _ - x = putStrLn something These subsume pattern guards... -- Taral [EMAIL PROTECTED] Computer science is no more about computers than astronomy is about telescopes. -- Edsger Dijkstra