Commit f835abf5df50caa893474a1f3d50391fd1c7de09

Thomas de Grivel 2023-06-23T15:46:21

fixed negative facts, using without within with !!!

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/with.lisp b/with.lisp
index 51f4470..eddb89a 100644
--- a/with.lisp
+++ b/with.lisp
@@ -79,7 +79,7 @@
              (with/dispatch s p o binding-vars body)))
       ((4) (destructuring-bind (not s p o) spec
              (assert (eq :not not))
-             (with/dispatch s p o binding-vars '(return nil)))))))
+             `(without ((,s ,p ,o)) ,@body))))))
 
 (defmacro with/rec ((spec &rest more-specs) &body body)
   (let* ((bindings (collect-bindings spec))