Chào各位朋友!
Giải thích vì sao tên hàm "fn*" là không đúng?
user=> (defn fnn* [x] (+ x 1))
'user/fnn*
user=> (fnn* 4)
5
But
user=> (defn fn* [x] (+ x 1))
'user/fn*
user=> (fn 4)
Syntax error (ClassCastException) compiling fn at (REPL:1:1).
class java.lang.Long cannot be cast to class clojure.lang.ISeq (java.lang.Long is in module java.base of loader 'bootstrap'; clojure.lang.ISeq is in unnamed module of loader 'bootstrap')
Cảm ơn!
:-)