[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lambda (was Re: special forms, take two (was Re: A lua version of "amb"))
- From: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 2 Mar 2012 10:26:35 +0200
> Actually the 'make a field extractor for foo' is a good example of how
> sometimes a little lambda is easier to write and read than a library
> function.
>
Given Lua's indulgence to all those Fortran programmers out
there, what about good old "arithmetic statement functions" for
a lightweight syntax? In this case:
foo(x) = x.foo
Since it's not anonymous, even I would use it …
- References:
- Re: special forms, take two (was Re: A lua version of "amb"), Mark Hamburg
- Lambda (was Re: special forms, take two (was Re: A lua version of "amb")), Mark Hamburg
- Re: Lambda (was Re: special forms, take two (was Re: A lua version of "amb")), Roberto Ierusalimschy
- Re: Lambda (was Re: special forms, take two (was Re: A lua version of "amb")), Mark Hamburg
- Re: Lambda (was Re: special forms, take two (was Re: A lua version of "amb")), steve donovan