Boost logo

Boost :

Subject: Re: [boost] De Bruijn Bind (alternate bind syntax) Interest?
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-09-03 16:46:07


On Fri, Sep 3, 2010 at 2:52 PM, Larry Evans <cppljevans_at_[hidden]> wrote:
>> And why would a C++ programmer care about making the implementation of
>> beta-reduction easier?
>>
> I thought that's essentially what mpl::apply<F,A> does.
> Let's see, from:
>
>  http://en.wikipedia.org/wiki/%CE%91_conversion#.CE.B1-conversion

I've already read it; I know what it is.

> Since, as I mentioned, I had trouble understanding how apply
> worked, and the code seems pretty complicated, at least to me,
> I was hoping DeBruijn's method would offer simplifications.

>From the examples I've seen so far, this would make it easier for bind
library writers at the expense of usability. On th other hand, once
lambdas start to use protect() I'm usually giving up on them ;-)

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk