|
Boost Users : |
From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-09-29 05:16:17
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
Regards,
-- Shunsuke Sogame
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