I have a class which treats a sequence as a conjunctive list of objects
which, when evaluated, return a boolean. It is an attempt to use doseq to
walk along that list, evaluating each entry, and anding that result with
boolean atom. It fails. A sketch of the code is this - taken from the error
message:
inside (defn AndList...
(reify
ie4clj.api.Inferrable
(defn evalMembers
[members]
(defn result (atom true))
(doseq [x members]
(result = (and result (eval x))))
(println (clojure.core/deref result))
(result))) - *failed: vector? at: [:fn-tail :arity-1 :params] spec:
:clojure.core.specs.alpha/param-list*
It could be that my Java background is clouding my use of clojure. Any
comments will be appreciated.
Thanks
Jack
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/clojure/f67cfcd0-8e1e-4780-bc00-f6993979e7afn%40googlegroups.com.