Re: [Haskell-cafe] Thompson's Exercise 9.13

2005-04-14 Thread Hamilton Richards
At 6:53 PM +0200 2005/4/12, Henning Thielemann wrote: On Tue, 12 Apr 2005, Hamilton Richards wrote: Here's a solution: init :: [a] -> [a] init xs = tail (foldr keep [] xs) where keep :: a -> [a] -> [a] keep x [] = [x] keep x [y] = [x,x] keep x (y:z:zs) = x:x:y:zs Nice idea

[Haskell-cafe] Re: Haskell with Apache?

2005-04-14 Thread Shae Matijs Erisson
Graham Klyne <[EMAIL PROTECTED]> writes: > I'm interested in running Haskell code invoked from an Apache web server > request. I discovered the mod_haskell project [1] which looks prima facie > v. promising. Does anyone have any recent experience of using this (there > apparently being no recent

[Haskell-cafe] Re: Haskell with Apache?

2005-04-14 Thread Andre Pang
On 14/04/2005, at 8:37 PM, Graham Klyne wrote: I'm interested in running Haskell code invoked from an Apache web server request. I discovered the mod_haskell project [1] which looks prima facie v. promising. Does anyone have any recent experience of using this (there apparently being no recent

Re: [Haskell-cafe] Haskell with Apache?

2005-04-14 Thread Niklas Broberg
> 1) Is Niklas Broberg's HSP. Niklas has said: > >| Indeed, we have a working server that does runtime loading of HSP >| pages (i.e. Haskell apps) using hs-plugins. We'll be releasing a first >| version some time really soon, but if you want a preview just send me >| a mail. =) I

Re: [Haskell-cafe] Haskell with Apache?

2005-04-14 Thread Donald Bruce Stewart
gk: > I'm interested in running Haskell code invoked from an Apache web server > request. I discovered the mod_haskell project [1] which looks prima facie > v. promising. Does anyone have any recent experience of using this (there > apparently being no recent activity on this project)? > > I

Re: [Haskell-cafe] predicates in XML toolboxes

2005-04-14 Thread Graham Klyne
At 13:48 12/04/05 +0100, Malcolm Wallace wrote: Henning Thielemann <[EMAIL PROTECTED]> writes: > >> predicates a -> Bool > >> selectors, transformatorsa -> a > >> list-valued functionsa -> [a] > > What about providing combinators for the most common cases and provide >

[Haskell-cafe] Haskell with Apache?

2005-04-14 Thread Graham Klyne
I'm interested in running Haskell code invoked from an Apache web server request. I discovered the mod_haskell project [1] which looks prima facie v. promising. Does anyone have any recent experience of using this (there apparently being no recent activity on this project)? I wonder if there'

[Haskell-cafe] Call for Contributions -- HC&A Report (May 2005 edition)

2005-04-14 Thread Andres Loeh
Dear Haskellers, it is nearly time for the eighth edition of the Haskell Communities & Activities Report http://www.haskell.org/communities/ Submission deadline: 03 May 2005

[Haskell-cafe] Re: Closest analog to popen()

2005-04-14 Thread Peter Simons
Dimitry Golubovsky writes: >> System.Process.runInteractiveCommand > Is this available only in 6.4? Yes, I think so. The module's source code was posted to the -libraries mailing list a while ago, but GHC 6.4 is the first release to ship it. Peter