File: closer-ecl.lisp

package info (click to toggle)
cl-closer-mop 2%3A20250303.git53221de-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 260 kB
  • sloc: lisp: 1,997; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 770 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(in-package :closer-mop)

(cl:defmethod compute-effective-method-function ((gf standard-generic-function) effective-method options)
  (declare (optimize (speed 3) (space 0) (compilation-speed 0)))
  (when options
    (cerror "Ignore these options."
            "This version of compute-effective-method-function does not support method combination options: ~S"
            options))
  (coerce `(lambda (&rest clos:.combined-method-args.)
             (declare (special clos:.combined-method-args. clos:*next-methods*))
             ,effective-method)
          'function))

(declaim (inline eql-specializer-p))
(defun eql-specializer-p (thing)
  (typep thing 'eql-specializer))

(eval-when (:compile-toplevel :load-toplevel :execute)
  (pushnew :closer-mop *features*))