gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] Re: possible dotimes enhancement


From: Camm Maguire
Subject: Re: [Gcl-devel] Re: possible dotimes enhancement
Date: 03 Aug 2003 12:06:58 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!  Paul, one other thought --

Is there a definitive list in ansi common lisp of the 'side effect'
forms, e.g. setq, setf, incf, etc.?

Take care,



"Paul F. Dietz" <address@hidden> writes:

> Camm Maguire wrote:
> 
> > Paul, does this mean I can do something like
> > aref -> si::arefold
> > (defmacro aref (a &rest sub &aux i new-sub)   (dolist (i sub)
> >     (push `(the fixnum ,i) new-sub))
> >   `(arefold ,a ,@new-sub))
> > ???
> 
> Yes, although it would have to be a compiler macro, since
> the user can do #'aref.
> 
> (The i aux parameter is redundant, btw, and you need to reverse
> new-sub.)
> 
>       Paul
> 
> 
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

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