[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ declaration style programming?
From: |
Paul Jarc |
Subject: |
Re: C++ declaration style programming? |
Date: |
Wed, 21 Jan 2004 11:06:24 -0500 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) |
Viktor Pavlenko <address@hidden> wrote:
> let* is a binding construct by definition and it is an error to
> bind the same identifier twice (r5rs).
Guile complains about duplicate bindings in let or letrec, but not
let*; the second binding simply shadows the first. I believe that's
what R5RS specifies. (So it is possible to accidentally shadow an
existing binding, which may cause trouble in subsequent code similar
to set!.)
> Using side effects to re-bind a variable within the binding
> expression of let* sounds like cheating :)
There are other forms of side effects, like I/O.
paul
- Re: C++ declaration style programming?, (continued)
- Re: C++ declaration style programming?, Viktor Pavlenko, 2004/01/20
- Re: C++ declaration style programming?, Issac Trotts, 2004/01/20
- Re: C++ declaration style programming?, Lynn Winebarger, 2004/01/21
- Re: C++ declaration style programming?, Stephen Compall, 2004/01/21
- Re: C++ declaration style programming?, Keith Wright, 2004/01/21
- Re: C++ declaration style programming?, Viktor Pavlenko, 2004/01/21
- Re: C++ declaration style programming?, Viktor Pavlenko, 2004/01/21