Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Le #144] Printing Java native types #54

Open
stanislowskij opened this issue Sep 10, 2024 · 0 comments
Open

[Le #144] Printing Java native types #54

stanislowskij opened this issue Sep 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request needs exploration Need to find more specific examples and narrow down the issue

Comments

@stanislowskij
Copy link
Collaborator

stanislowskij commented Sep 10, 2024

⚠️ Imported from legacy repository. This issue is a duplicate of Clojure-Intro-Course/babel-legacy#144.

babel.middleware=> (even? (int-array [1 2 3]))
The first argument of (even? [I@90b54f1) was expected to be a number but is [I [I@90b54f1 instead.
In Clojure interactive session on line 1.
Call sequence:
[Clojure interactive session (repl)]
babel.middleware=> (import '[java.util HashMap HashSet])
java.util.HashSet
babel.middleware=> (even? (doto (HashMap.) (.put "a" 1)))
The first argument of (even? {a=1}) was expected to be a number but is java.util.HashMap {a=1} instead.
In Clojure interactive session on line 1.
Call sequence:
[Clojure interactive session (repl)]
@stanislowskij stanislowskij added the enhancement New feature or request label Sep 10, 2024
@stanislowskij stanislowskij added the needs exploration Need to find more specific examples and narrow down the issue label Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs exploration Need to find more specific examples and narrow down the issue
Projects
None yet
Development

No branches or pull requests

2 participants