This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: need SETQ
- To: Ivan Toshkov <ivant at ifao dot net>
- Subject: Re: need SETQ
- From: PILCH Hartmut <phm at a2e dot de>
- Date: Sun, 6 Feb 2000 23:45:26 +0100 (CET)
- cc: guile at sourceware dot cygnus dot com
Ivan Toshkov wrote:
> I think it'll work, though I'm not very experience with macros.
>
> (define-syntax setq
> (syntax-rules ()
> ((setq var value)
> (begin
> (set! var value)
> var))))
Yes, it works in scsh.
Thank you very much!
--
phm