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

Reader functions do not complain or error for arity #8

Open
kanaka opened this issue Jan 8, 2013 · 0 comments
Open

Reader functions do not complain or error for arity #8

kanaka opened this issue Jan 8, 2013 · 0 comments
Labels

Comments

@kanaka
Copy link
Owner

kanaka commented Jan 8, 2013

ClojureScript:

cljs.user=> (#(prn %) 1 2)
1
cljs.user=> (#(prn %1 %2) 1)
1 nil

Clojure:

user=> (#(prn %) 1 2)
ArityException Wrong number of args (2) passed to: user$eval2$fn  clojure.lang.AFn.throwArity (AFn.java:437)
user=> (#(prn %1 %2) 1)
ArityException Wrong number of args (1) passed to: user$eval8$fn  clojure.lang.AFn.throwArity (AFn.java:437)
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