This shows you the differences between two versions of the page.
blog:enterprise_clojure_and_specs [2017/05/25 16:17] djo Created |
blog:enterprise_clojure_and_specs [2017/05/25 18:38] (current) djo |
||
---|---|---|---|
Line 67: | Line 67: | ||
This week, I decided to use the upcoming [[https://clojure.org/guides/spec|Specs]] library from Clojure 1.9 to document each parameter's possible values and see if this helped with the readability and maintainability of this particular example. | This week, I decided to use the upcoming [[https://clojure.org/guides/spec|Specs]] library from Clojure 1.9 to document each parameter's possible values and see if this helped with the readability and maintainability of this particular example. | ||
- | Specifically, I wanted to use Specs according to the following form from the documentation: | + | (The rest of this blog assumes you've read through the Specs documentation linked above. Go ahead; I'll wait. ;-) ) |
+ | |||
+ | Back to the code here... In my case I wanted to use Specs according to the following form from the documentation: | ||
<code clojure> | <code clojure> |