Hi All,

Sorry for trivial question but I am a newbe in Clojure.
I need to manage some object which is created by calling java method:


 (let [result #(.getStatements c nil nil nil (into-array Resource '[]))]
>       (log/debug (format "Result class: %s" (type result)))
>       (map #(log/debug "Element: " %1) result)
>       )
>

I know the result should be type of "CloseableIteration
<http://rdf4j.org/doc/4/apidocs/info/aduna/iteration/CloseableIteration.html><?
extends Statement
<http://rdf4j.org/doc/4/apidocs/org/openrdf/model/Statement.html>,
SailException
<http://rdf4j.org/doc/4/apidocs/org/openrdf/sail/SailException.html>>" but
Clojure shows me the error that class
"triple.loader_test$test_repository$result__849" cannot be processed. As a
Java programmer I would say that clojure wraps/makes internal proxy from/
the origin object.
I have added all required class names into file head by namespace
declaration.

How can I "unpack" the pack? Maybe my approach is totally wrong? I am even
do not know what is the name of that issues so google is helpless in my
case.
Thanks a lot for help.

Best regards,
Jacek

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to