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

Gary's evil code breaks #42

Open
trptcolin opened this issue Jul 24, 2013 · 1 comment
Open

Gary's evil code breaks #42

trptcolin opened this issue Jul 24, 2013 · 1 comment

Comments

@trptcolin
Copy link

@fredericksgary posted some crazy code that behaves differently in tryclj.com vs. a local REPL (w/ every version of clojure I could get my hands on)

In tryclj.com:

(let [let 'let let' let] (let let' let))
;=> java.lang.IllegalArgumentException: let requires a vector for its binding in clojure.core:

In local REPL:

(let [let 'let let' let] (let let' let))
;=> let

No idea how tryclj.com works, but thought you guys might like to know in case this isn't desired behavior.

@Stargator
Copy link

As of today these are the results in tryclj.com:

(let)
clojure.lang.ArityException: Wrong number of args (0) passed to: core$let

[let 'let let' let]
java.lang.RuntimeException: Can't take value of a macro: #'clojure.core/let

(let let' let)
java.lang.IllegalArgumentException: let requires a vector for its binding in clojure.core:

Brand new to clojure, so I don't know the solution, but this might help debug it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants