Subject: Re: [boost] painless currying
From: Daniel James (dnljms_at_[hidden])
Date: 2011-09-05 15:06:47
On 5 September 2011 19:11, Thomas Heller <thom.heller_at_[hidden]> wrote:
> On Mon, Sep 5, 2011 at 1:28 PM, Daniel James <dnljms_at_[hidden]> wrote:
>> On 5 September 2011 12:10, Maxim Yanchenko
>>> I'm on Dave's side here: we should be explicit about the time when we want to
>>> trigger actual evaluation.
>> The problem is that existing generic algorithms won't trigger
>> evaluation, so currying couldn't be used with, say, std::transform.
>> That's why I would make partial application explicit, with a normal
>> function call causing evaluation. But I think that was considered too
> Actually, that is not the case.
It is if you have to be explicit about the time when you want to
trigger actual evaluation.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk