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

one arg + #122

Open
elenam opened this issue Jul 15, 2016 · 0 comments
Open

one arg + #122

elenam opened this issue Jul 15, 2016 · 0 comments
Assignees
Labels

Comments

@elenam
Copy link

elenam commented Jul 15, 2016

This may be connected to other issues with specs and lazy sequences, but a one-argument + behaves differently from two-arg one in lazy seqs with spec:

(println (reduce + 5 (map #(+ %) [3 4 "hi"])))

gives an unprocessed error message " Cannot cast java.lang.String to java.lang.Number", whereas two-arg + gives our modified class cast message neither gives a spec error, but that's a separate issue).

@elenam elenam added the bug label Jul 15, 2016
@elenam elenam self-assigned this Jul 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant