Boost logo

Boost Users :

From: Kirit Sælensminde (kirit.saelensminde_at_[hidden])
Date: 2007-09-29 06:04:21


shunsuke wrote:
> Kirit Sælensminde wrote:
>> http://www.kirit.com/Blog:/2007-09-10/What%20do%20you%20get%20when%20you%20curry%20partial%20application%3F
>
> FWIW, Boost.Lambda can curry on the fly.
>
> // \x -> (\y -> add(x, y))
> bind( __bind__, &add, _1, protect(_1) )
>
> __bind__ is an "imaginary" function object
> which represents bind itself.
>
> If interested in implementation,
> See: lambda_bind @ http://tinyurl.com/2ekf9q

That's really neat. It looks like you've already done in Egg a lot of
the stuff I was going to start going through as well, for example,
during the last week I'd been thinking about what you have as fuse and
unfuse. I'd also been thinking about generic lazy and memoize higher
order functions.

What is the status of Egg?

K


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net