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

2015-08-12 Thread Kon Lovett

> On Aug 12, 2015, at 4:50 AM, Alexej Magura  wrote:
> 
> Is there a sequential version of set!, as in setq?

See http://wiki.call-cc.org/eggref/4/moremacros#stiff-set

> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-users

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


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

2015-08-12 Thread John Cowan
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/~cowanco...@ccil.org
You know, you haven't stopped talking since I came here. You must
have been vaccinated with a phonograph needle.
--Rufus T. Firefly

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] sequential version of set!

2015-08-12 Thread Alexej Magura

Is there a sequential version of /set!/, as in /setq/?
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users