As the subject says, I recently tried to create a function called `load` 
which for some reason wasn't executing properly. The body isn't relevant, 
since it turned out that whatever I put in the body wasn't executing at 
all. I eventually discovered, when I renamed the function, that the body 
worked fine, it was just the name `load` that was causing it to be ignored.

I created a fresh environment, with ClojureScript version 1.10.879, running 
figwheel 0.2.14, and tried just calling `(load) as soon as the prompt came 
up.

```
(load)
;; nil
```

```
(load 1)
;; Compile Exception: Don't know how to create ISeq from: java.lang.Long  
```

I even tried:

```
#'load
;; Could not Analyze: Unable to resolve var: load in this context in file 
<cljs repl>  
```

and

```
`load
;; cljs.user/load
```

I even tried to do this:

```
(refer-clojure :exclude '[load])
```

but it made no difference.

This is no big deal as I managed to rename the original function, but the 
thing is I can't find any trace of there being a `load` function anywhere 
in the docs, it doesn't seem to be a special form function or anything like 
that, and there is no macro with that name.

So the big question: what is `load` and why can't I create a function with 
that name? Further, are there any other "hidden" keywords which are 
otherwise valid but which I can't use to create functions?


-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojurescript/49737189-e554-4c30-b4ff-dd20b0658904n%40googlegroups.com.

Reply via email to