Boost logo

Boost :

Subject: Re: [boost] Interest in a list comprehension library?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2010-12-20 05:37:15

On 12/19/10 22:33, Larry Evans wrote:
> On 12/19/10 19:54, Larry Evans wrote:
> [snip]
>> Actually, fcpp already has it in monad.h. Fcpp is available at sourceforge:
> [snip]
> OOPS, That doesn't look like it's maintained and doesn't have any test
> drivers or examples. This location might be more complete:


Using the fc++ library, the attached c++ program produces output:

--{-- output ---
make -k run


Compilation finished at Mon Dec 20 04:28:48

--}-- output ---

Actually, the following line(around line 587):
             typedef typename OrigET::template Go<Dummy>::BE BE1;
had to be removed from the fc++ lambda.h file to enable
compilation of the attached.

Maybe you could merge the best ideas from both your and fc++'s
version of list comprehension. Anyway, I thought it might
be useful to see how another list comprehension was implemented.


Boost list run by bdawes at, gregod at, cpdaniel at, john at