[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Harp Pedals?
From: |
Reinhold Kainhofer |
Subject: |
Re: Harp Pedals? |
Date: |
Thu, 14 Aug 2008 23:51:29 +0200 |
User-agent: |
KMail/1.9.9 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Donnerstag, 14. August 2008 schrieb Carl D. Sorensen:
> On 8/14/08 11:16 AM, "Valentin Villenave" <address@hidden> 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: address@hidden, 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-----
Re: Harp Pedals?, Reinhold Kainhofer, 2008/08/14
Re: Harp Pedals?, Reinhold Kainhofer, 2008/08/14