You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Exciting that defprotocol support is out! I'm opening this issue to track support for clojure.datafy.
Soon after defprotocol support landed on master, I tried requiring clojure.datafy and ran into missing java classes e.g. Unable to resolve classname: java.lang.Iterable [at clojure/core/protocols.clj, line 34, column 6]. Here's what I tried to remedy missing java classes:
I successfully built bb locally with uberjar and compile scripts. I'm on osx with the right versions of java and graalvm.
After starting up a bb repl, (require 'clojure.datafy) results in this new failure: java.lang.IllegalArgumentException: Don't know how to create ISeq from: clojure.lang.Keyword [at clojure/core/protocols.clj, line 182, column 1]. The source of the error points to defprotocol
It's unclear to me if I'm adding java classes in the wrong places in src/babashka/impl/classes.clj, if there's a sci issue with defprotocol or something else. Any thoughts?
Is your feature request related to a problem? Please describe.
Would like to use clojure.datafy for navigating data and java classes because of its first class reach in the language
Describe the solution you'd like
Would like require clojure.datafy to work
Describe alternatives you've considered
There isn't another that has the same functionality and is built into the language
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Hi. Exciting that defprotocol support is out! I'm opening this issue to track support for clojure.datafy.
Soon after defprotocol support landed on master, I tried requiring
clojure.datafy
and ran into missing java classes e.g.Unable to resolve classname: java.lang.Iterable [at clojure/core/protocols.clj, line 34, column 6]
. Here's what I tried to remedy missing java classes:(require 'clojure.datafy)
results in this new failure:java.lang.IllegalArgumentException: Don't know how to create ISeq from: clojure.lang.Keyword [at clojure/core/protocols.clj, line 182, column 1]
. The source of the error points to defprotocolIt's unclear to me if I'm adding java classes in the wrong places in src/babashka/impl/classes.clj, if there's a sci issue with defprotocol or something else. Any thoughts?
Is your feature request related to a problem? Please describe.
Would like to use clojure.datafy for navigating data and java classes because of its first class reach in the language
Describe the solution you'd like
Would like require clojure.datafy to work
Describe alternatives you've considered
There isn't another that has the same functionality and is built into the language
Additional context
n/a
The text was updated successfully, but these errors were encountered: