[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: (BUG LISP) at MIT-MC
- From: JONL at MIT-MC (Jon L White)
- Date: Tue, 13 Jun 78 19:01:00 GMT
- Cc: (BUG LISPM) at MIT-MC, GSB at MIT-MC
- Original-date: 13 JUN 1978 1501-EDT
So let us define PUSH and POP macros to produce something like
(PUSH X L) ==> (SETQ L (CONS X L))
(POP L) ==> (PROG2 () (CAR L) (SETQ L (CDR L)))
This way, the value left by the "POP" will be the thing popped off.