From 5ba2a16a6b92450dd65b68f5dbd36970c5dc5593 Mon Sep 17 00:00:00 2001 From: "Paul M. Rodriguez" Date: Sun, 19 May 2024 12:36:27 -0500 Subject: [PATCH] Selectively disable type dispatch mechanism on some Lisps --- types.lisp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types.lisp b/types.lisp index 3797c89..94c5b27 100644 --- a/types.lisp +++ b/types.lisp @@ -480,6 +480,9 @@ Serapeum, `with-templated-body'. One possible expansion is based on the `string-dispatch' macro used internally in SBCL. But most of the credit should go to the paper \"Fast, Maintable, and Portable Sequence Functions\", by Irène Durand and Robert Strandh." + #+(or clasp clisp) + `(locally ,@body) + #-(or clasp clisp) `(locally (declare #+sbcl (sb-ext:muffle-conditions sb-ext:code-deletion-note)) ,(let* ((types (simplify-subtypes types)) (var-type (variable-type var env))