Introducing clojure.spec (opens in new tab)
I’m happy to introduce today clojure.spec, a new core library and support for data and function specifications in Clojure. Better Communication Clojure is a dynamic language, and thus far we have relied on documentation or external libraries to explain the use and behavior of functions and libraries. But documentation is difficult to produce, is frequently not maintained, cannot be automatically checked and varies greatly in quality. Specs are expressive and precise. Including spec in Clojure...
Read the original article