boost::lambda::bind - a better name?
9 Jul
2007
9 Jul
'07
7:35 p.m.
Wouldn't it be better if boost::lambda::bind was named boost::lambda::call (or boost::lambda::eval, to make it more lispish), in order to: -avoid the confusion and potential overlap with boost::bind -make the name more sensible within lambda expressions, especially when "binding" nullary functions, ie. int six() { return 6; } if_(call(six) == 6) [ ... ] IMHO looks better than if_(bind(six) == 6) [ ... ] Yours, Chuj
10 Jul
10 Jul
4:24 a.m.
Maciek Godek wrote:
Wouldn't it be better if boost::lambda::bind was named boost::lambda::call (or boost::lambda::eval, to make it more lispish), in order to:
I think you can make a better argument for calling it papply as it is a generalised partial application function, but personally I find the name bind OK. K
6336
Age (days ago)
6337
Last active (days ago)
1 comments
2 participants
participants (2)
-
Kirit Sælensminde
-
Maciek Godek