没看明白具体怎么用, 有点奇怪
有人看 Clojure Spec 了么?
lambeta
#4
看了Introducing clojure.spec - Rich Hickey的介绍,最近刚好由beating bugs with brute force这篇文章接触到了test.check,现在正着手写一个工具。
另外,clojure没有type system,不知道大家在写clojure代码的时候,有没有经常使用map的keyword或者type hint来完成type system的一些职责,比如对于互操作java中的重载方法,type hint (比如 ^String)必不可少。