6
我正在浏览字符串的src?并且有几个问题。下面是string?
FN之源 -关于字符串源的问题?
(def
^{:arglists '([x])
:doc "Return true if x is a String"
:added "1.0"
:static true}
string? (fn ^:static string? [x] (instance? String x)))
- 是什么让一个FN静态元数据吗?
- 为什么给定两次静态元数据,不应该为fn或var指定它吗?
- 为什么匿名fn有一个名字?
1. was was here:http://stackoverflow.com/questions/7552632/what-does-static-do-in-clojure – 2013-04-11 09:01:00