Burt在Clojure邮件列表上报道的
"1.9.0-alpha10"和core.logic "0.8.10"上
(ns lwb.nd.rules
(:refer-clojure :exclude [==])
(:require [clojure.core.logic :refer :all]))
=> nil
在"1.9.0-alpha12"和core.logic "0.8.10"上
(ns lwb.nd.rules
(:refer-clojure :exclude [==])
(:require [clojure.core.logic :refer :all]))
编译器异常 clojure.lang.ExceptionInfo:对clojure.core/fn的调用不符合spec
在[0] val: clojure.core.logic/-inc未能通过spec::clojure.core.specs/arg-list在[:args :bs :arity-1 :args]谓词:vector?
在[0] val: clojure.core.logic/-inc未能通过spec::clojure.core.specs/args+body在[:args :bs :arity-n]谓词:(cat :args :clojure.core.specs/arg-list :prepost (? map?) :body (* any?))
:clojure.spec/args (clojure.core.logic/-inc [] (bind (this) g))
#:clojure.spec{:problems ({:path [:args :bs :arity-1 :args], :pred vector?, :val clojure.core.logic/-inc, :via [:clojure.core.specs/args+body :clojure.core.specs/arg-list :clojure.core.specs/arg-list], :in [0]} {:path [:args :bs :arity-n], :pred (cat :args :clojure.core.specs/arg-list :prepost (? map?) :body (* any?)), :val clojure.core.logic/-inc, :via [:clojure.core.specs/args+body :clojure.core.specs/args+body], :in [0]}), :args (clojure.core.logic/-inc [] (bind (this) g))}, 编译:(clojure/core/logic.clj:1130:5)