-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Donnerstag, 14. August 2008 schrieb Carl D. Sorensen: > On 8/14/08 11:16 AM, "Valentin Villenave" <[EMAIL PROTECTED]> wrote: > >> This requires you to use lambda expressions, which are kind of > >> confusing. > > > > Are lambda expressions related to > > http://en.wikipedia.org/wiki/Lambda_calculus? > > > > If so, I have to confess I kinda gave up every time I tried to read > > the Wikipedia page... :( > > Well, they're probably related to lambda calculus, but I don't understand > lambda calculus enough to do anything with it. > > In my opinion, calling it lambda(x) makes it way hard for users to > understand. In my mind, I substitute temporary_function for lambda, and > then it makes sense to me
Exactly, that's what lambda calculus is all about. Basically, a bunch of code is understood as a function, but since it does not have a function name, you simply call it lambda(x,...). The whole lambda calculus is all about analyzind the results of applying lambda(x...) to some expressions. So, I simply think of lambda functions as "unnamed functions". Cheers, Reinhold - -- - ------------------------------------------------------------------ Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIpKjhTqjEwhXvPN0RAnS9AKCbcGy06Y05Rm4tuOhrMoDKHV1YPACfXFto rq4QR3UzvHRIuxp2oNInmg8= =fXpe -----END PGP SIGNATURE----- _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user