You have a "defn" there by mistake.

On Sun, 18 Jul 2021, at 6:41 PM, Jack Park wrote:
> 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 clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> 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 clojure+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/clojure/f67cfcd0-8e1e-4780-bc00-f6993979e7afn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/clojure/f67cfcd0-8e1e-4780-bc00-f6993979e7afn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
James Reeves
booleanknot.com

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
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 clojure+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/6d1e2896-0dc9-4ed3-bcaa-15c125506e3b%40www.fastmail.com.

Reply via email to