
29 Sep
2007
29 Sep
'07
10:04 a.m.
shunsuke wrote:
Kirit Sælensminde wrote:
http://www.kirit.com/Blog:/2007-09-10/What%20do%20you%20get%20when%20you%20c...
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