Filtering...

lookup-eq-def

books/kestrel/alists-light/lookup-eq-def
other
(in-package "ACL2")
lookup-eqfunction
(defund lookup-eq
  (key alist)
  (declare (xargs :guard (if (symbolp key)
        (alistp alist)
        (symbol-alistp alist))))
  (cdr (assoc-eq key alist)))