re version throws an exception:
>>
>> user=> (call-fn my-fn)
>>
>> ArityException Wrong number of args (2) passed to: user/my-fn
>> clojure.lang.AFn.throwArity (AFn.java:429 <http://afn.java:429/>)
>>
>> Alan
>>
>>
>> On Wednesday, November 6
Hello, everyone. I use ClojureScript as following:
(defn call-fn
[f]
(f 23 34))
(defn my-fn
[a]
(println a))
(call-fn my-fn)
;; => 23
Without any exception throwed. Why does this? Is it a bug?
--
Note that posts from new members are moderated - please be patient with your
first post.