不同之处在于:cljs> (get 42 :anything) ; => Error: No protocol method ILookup-lookup defined for type number: 42
我不知道这是不是ClojureScript中的一个bug,或者是一个未记录的差异,或者我只是遗漏了什么。
>",它的工作原理与"->“相同,除非其中一个线程函数返回零。如果在线程处理过程中遇到零,则线程表达式的返回值为零。很有用。Same as clojure.core/-> but returns nil as soon as the threaded value is nil itself (thus short-circuiting>