perm filename AMACRO.LSP[SCH,LSP] blob sn#688817 filedate 1982-11-14 generic text, type T, neo UTF8
;;; -*- LISP -*-
;;;; Abstract advice selectors and constructors:

(declare (macros t))

(defun make-advice-name macro (all)
  `(list ,@(cdr all)))

(defmacro advised? (proc)
  `(pairp (procedure-name ,proc)))

(defmacro advised-name (field)
  `(car ,field))

(defmacro advised-advice (field)
  `(cadr ,field))

(defmacro advised-proc (field)
  `(caddr ,field))

(defmacro advise-type (field)
  `(cadddr ,field))