chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] sequential version of set!


From: John Cowan
Subject: Re: [Chicken-users] sequential version of set!
Date: Wed, 12 Aug 2015 09:32:32 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Alexej Magura scripsit:

> Is there a sequential version of /set!/, as in /setq/?

There isn't, though it would be straightforward to write a macro.
Scheme doesn't put as much emphasis on mutation as Common Lisp does;
note that while `do` looks the same in Scheme as in Common Lisp,
it does not mutate the iteration variables but rebinds them, and
named `let` is all about looping while rebinding.

-- 
John Cowan          http://www.ccil.org/~cowan        address@hidden
You know, you haven't stopped talking since I came here. You must
have been vaccinated with a phonograph needle.
        --Rufus T. Firefly



reply via email to

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