Clojure.get及其与get的区别

Clojure.get及其与get的区别,clojure,Clojure,clojure中的.get是什么?它与get有什么区别? 我知道get做什么,但以前从未见过.get。这就是调用作为第二个参数传递的实例/类的.get方法的方式 例如: 当 参考资料: .get是对Java.get()函数的调用。为什么不把它作为一个答案,@zerkms? (.get foo) ;; invokes an instance method of a foo object (.get Bar) ;; invokes a static method of a Bar class

clojure中的
.get
是什么?它与
get
有什么区别?
我知道
get
做什么,但以前从未见过
.get

这就是调用作为第二个参数传递的实例/类的
.get
方法的方式

例如:

参考资料:


.get
是对Java
.get()函数的调用。为什么不把它作为一个答案,@zerkms?
(.get foo) ;; invokes an instance method of a foo object
(.get Bar) ;; invokes a static method of a Bar class
(get ...) ;; invokes a clojure get function