daveray/seesaw — Issue #73: Strange warning using seesaw.core/invoke-later in REPL
Author: jannschu
Created: 2012-01-01 19:43:00+00:00
State: open

I tried this one in a fresh project (Clojure/seesaw 1.3):

`lein repl`:

```clojure
(use 'seesaw.core) ; => nil
(invoke-later nil) ; => ArityException Wrong number of args (1) passed to: invoke$invoke-later clojure.lang.AFn.throwArity (AFn.java:437)
(seesaw.invoke/invoke-later ni) ; => nil
```

Then:

```clojure
(def #^{:macro true} foo #'seesaw.invoke/invoke-later) ; => #'test.core/foo
(foo nil) ; => nil
```
No idea what's wrong, I'm very new to Clojure. But this works:

```clojure
(use '[seesaw.invoke :only (invoke-later)]) ; => nil
(invoke-later 5) ; => 5
```

So maybe create the aliases in seesaw.core with a `:use` option in `ns`?
Would also yield correct doc instead of "alias for...". Or am I making a mistake?