guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: expression


From: Andy Wingo
Subject: Re: expression
Date: Thu, 24 Jun 2010 15:03:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

On Thu 24 Jun 2010 08:55, Ken Raeburn <address@hidden> writes:

> Hmm... here's another way, though I've no idea if RnRS lets you not have
> any expressions in here:
>
> scheme@(guile-user)> ,c (begin)

There are actually two kinds of begin: one in definition context and one
in expression context. The former takes 0 or more forms, and splices
those forms into the input, where the (begin ...) appears. The other
takes 1 or more expressions, and evaluates those expression in order,
returning the value of the last.

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]