marcoheisig / fast-generic-functions

Seal your generic functions for an extra boost in performance.
MIT License
94 stars 5 forks source link

SEAL-DOMAIN on EQL specializers #9

Open helmutkian opened 3 years ago

helmutkian commented 3 years ago

Is it possible to call seal-domain on methods with eql specializers?

For example:


(defgeneric foo (object)
  (:generic-function-class fast-generic-function))

(defmethod foo ((object (eql 'bar)))
  (print bar))

(seal-domain #'foo '((eql bar)))