[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Good introductory texts ?
- From: Mario Domenech Goulart <mario.goulart@...>
- Date: Wed, 23 Sep 2009 10:43:17 -0400
Hi David
On Wed, 23 Sep 2009 16:29:44 +0200 David Kastrup <dak@gnu.org> wrote:
> Alex Queiroz <asandroq@gmail.com> writes:
>>
>> On 9/23/09, Tony Finch <dot@dotat.at> wrote:
>>> On Wed, 23 Sep 2009, steve donovan wrote:
>>> >
>>> > This is a common notion. What can Scheme do that cannot be
>>> > expressed
>>> > in Lua? (Note, this is an actual question)
>>>
>>>
>>> The two biggies are continuations and macros.
>>>
>>
>> I would add that there are no statements, everything is an
>> expression.
>
> (set! ... ) is not really an expression. It has no value and only
> side effects.
According to R5RS, `set!' is an assignment expression
(http://schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-7.html#%_sec_4.1.6).
Best wishes.
Mario