[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Scheme script debugging
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] Scheme script debugging |
Date: |
Wed, 22 May 2013 10:40:00 +0100 |
On Wed, 2013-05-22 at 10:05 +0100, Richard Shann wrote:
> So when I referred to (let xxx () syntax, I just mean the scheme
> syntax
> for the "let" procedure.
> Scheme is well documented, with the official reference here:
>
> http://www.gnu.org/software/guile/manual/html_node/index.html
>
> Named "let" is documented at
> http://www.gnu.org/software/guile/manual/html_node/while-do.html#while-do
>
> while the way "let" makes variables local to the let is documented at
> http://www.gnu.org/software/guile/manual/html_node/Local-Bindings.html#Local-Bindings
>
I just realized that I shouldn't been inviting you to delve in here: you
are not trying to use a named let, you just stumbled on the syntax by
accident. Apart from the (let () at the beginning you just need
(begin ...) to group statements.
The (let ((tag xxx)) ... at the beginning is there to make "tag" local
to your script, otherwise it would re-define the variable "tag" that
other calls might use.
But apart from that you don't want "let" until you start wanting to
write loops.
Richard
- [Denemo-devel] Scheme script debugging, Andreas Schneider, 2013/05/21
- Re: [Denemo-devel] Scheme script debugging, Richard Shann, 2013/05/21
- Re: [Denemo-devel] Scheme script debugging, Andreas Schneider, 2013/05/21
- Re: [Denemo-devel] Scheme script debugging, Richard Shann, 2013/05/21
- Re: [Denemo-devel] Scheme script debugging, Andreas Schneider, 2013/05/22
- Re: [Denemo-devel] Scheme script debugging, Richard Shann, 2013/05/22
- Re: [Denemo-devel] Scheme script debugging,
Richard Shann <=
- Re: [Denemo-devel] Scheme script debugging, Andreas Schneider, 2013/05/22
- Re: [Denemo-devel] Scheme script debugging, Richard Shann, 2013/05/22
- Re: [Denemo-devel] Scheme script debugging, Richard Shann, 2013/05/22
- Re: [Denemo-devel] Scheme script debugging, Andreas Schneider, 2013/05/23
- Re: [Denemo-devel] Scheme script debugging, Richard Shann, 2013/05/23
- Re: [Denemo-devel] Scheme script debugging, Andreas Schneider, 2013/05/23
- Re: [Denemo-devel] Scheme script debugging, Richard Shann, 2013/05/23
- Re: [Denemo-devel] Scheme script debugging, Andreas Schneider, 2013/05/23
- Re: [Denemo-devel] Scheme script debugging, Richard Shann, 2013/05/23
- Re: [Denemo-devel] Scheme script debugging, Andreas Schneider, 2013/05/23