Troubleshoot negation
Negation still doesn't seem to be working, although everything else looks good.
This commit is contained in:
parent
3e749a5804
commit
d844c38df2
@ -21,7 +21,7 @@
|
||||
(defn negate [db operands input-frames]
|
||||
(filter
|
||||
(fn [frame]
|
||||
(empty? (qeval db operands [frame])))
|
||||
(empty? (qeval db (first operands) [frame])))
|
||||
input-frames))
|
||||
|
||||
(defn execute [exp]
|
||||
@ -39,7 +39,8 @@
|
||||
call
|
||||
frame
|
||||
(fn [v f]
|
||||
(throw (IllegalArgumentException. (str "Unknown pattern variable -- LISP-VALUE: " v))))))
|
||||
(throw
|
||||
(IllegalArgumentException. (str "Unknown pattern variable -- LISP-VALUE: " v))))))
|
||||
[frame]
|
||||
[]))
|
||||
input-frames))
|
||||
|
Loading…
Reference in New Issue
Block a user