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
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
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
> 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
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
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
>
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'
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
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