[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
iterative operator extension
- To: LISP
- Subject: iterative operator extension
- From: TEITELMAN
- Date: Fri, 25 Mar 1977 22:44:22 -8000
- Date: 25 MAR 1977 2244-PST
- Cc: WILBER at SRI-KL, VITTAL at BBN
it is now possible to redefine built in iterative oprators
using i.s.opr. to refer to the original definition, one uses
the flag ORIGINAL (similar to prettyprint, compiler, editor conventions)>
E.G.
i.s.opr(while NIL (WHEN FOO ORIGINAL WHILE BODY))
could be used to extend the definition of
WHILE to include a FOO check.
note thatin the case thatthe i.s.opr is already defined via a
property list definiton, e.g. collect, do, count, etc.
then if you redefiie it, ORIGINAL will not be abe
to obtai the original definition. ORIGINAL is primarily
intended for redefining and/or extending built in opratrs,
such as WHILE, TO, IN, and (i hope it works) FOR, BIND, etc.
warren
-------