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

Problem with tryclj.com #54

Open
maxjust opened this issue Apr 11, 2015 · 8 comments
Open

Problem with tryclj.com #54

maxjust opened this issue Apr 11, 2015 · 8 comments

Comments

@maxjust
Copy link

maxjust commented Apr 11, 2015

Hi, I have a problem with examples on tryclj.com. Here my output:

(defn square [x](* x x))

'sandbox6120/square

(square 10)
java.lang.IllegalStateException: Attempting to call unbound fn: #'sandbox6120/square

@actionshrimp
Copy link

I'm getting the same thing :(

(def square (fn [x] (* x x))
(square 10)

doesn't seem to work either, but

(def square 10)
square

works ok. Is storing functions in vars disabled somehow?

@actionshrimp
Copy link

Tried this from another machine today and it's no longer happening (both using chrome). I'll give it another go on Monday from the first machine and see if it's still happening.

@actionshrimp
Copy link

Seems to work fine from the first machine this morning!

@wilsoncampusano
Copy link

Same problem..

(defn square [x] (* x x ))
#'sandbox17509/square
(square 10)
java.lang.IllegalStateException: Attempting to call unbound fn: #'sandbox17509/square

@Raynes
Copy link
Owner

Raynes commented Apr 28, 2015

Guys, I read these tickets. 500 confirmations of a known bug isn't helpful.

On Tue, Apr 28, 2015 at 7:35 AM, Wilson Campusano Jorge
notifications@github.com wrote:

Same problem..

(defn square [x] (* x x ))
#'sandbox17509/square
(square 10)

java.lang.IllegalStateException: Attempting to call unbound fn: #'sandbox17509/square

Reply to this email directly or view it on GitHub:
#54 (comment)

@huytd
Copy link

huytd commented Dec 19, 2015

Actually this bug happen when you try to define the same function too much time in a same page. You can close current tab, open a new tab to fix the issue.

@arbitrary-dev
Copy link

Same issue with for:

(for [x [1 2 3]] x)
java.lang.IllegalStateException: Attempting to call unbound fn: #'sandbox18611/dot

@hieu-n
Copy link

hieu-n commented Apr 29, 2017

Actually this bug happen when you try to define the same function too much time in a same page. You can close current tab, open a new tab to fix the issue.

I use FireFox and just closing and opening a new tab doesn't help. I have to clear the cache of tryclj.com (i.e. go to History, right click the page and choose Forget About This Site) or open it in a private windows.

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

7 participants