[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] html-stream: idiom for large iterations?
From: |
Graham Fawcett |
Subject: |
Re: [Chicken-users] html-stream: idiom for large iterations? |
Date: |
Wed, 6 Apr 2005 13:40:38 -0400 |
On Apr 5, 2005 12:27 PM, Thomas Chust <address@hidden> wrote:
> Graham Fawcett <address@hidden> wrote:
>
> > [...]
> > However, this fails because the (map) generates a list of 1000
> > elements, which exceeds the parameter limit for (apply).
> >
> > Is there an idiomatic way to rewrite this, and avoid the parameter limit?
> > [...]
>
> Hello,
>
> well, using fold instead of apply you can usually avoid the parameter
> limit:
<snip>
> But there may be a better solution depending on the actual data you
> have to work on.
Thanks, Thomas. That did the trick.
-- Graham