[Top][All Lists]

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

Re: C++ declaration style programming?

From: Viktor Pavlenko
Subject: Re: C++ declaration style programming?
Date: Wed, 21 Jan 2004 10:41:09 -0500

> From: Han-Wen Nienhuys  <address@hidden>
> Date: 2004/01/21 Wed AM 09:26:12 EST

> > 
> > (let* ((a (something))
> >        (b (something-else a)))
> >   (display a)
> >   ..
> Your 2nd is not always possible due to side effects [...]

let* is a binding construct by definition and it is an error to
bind the same identifier twice (r5rs). Using side effects to re-bind
a variable within the binding expression of let* sounds like cheating :)


reply via email to

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