Fork me on GitHub
#clojure-spec
<
2017-12-07
>
eriktjacobsen02:12:45

Does anyone have any spec->documentation projects? Something that would, for instance, render in a browser a map spec as a map with the values as the underlying spec types, that hides some complexity via being expandable? Thinking something like https://github.com/jebberjeb/specviz but that is more geared towards in-place documentation.

joost-diepenmaat15:12:57

@hlolli because: you need to use clojure.spec.test.alpha/check a function to test its :ret and :fn specs

joost-diepenmaat15:12:23

if you switch on instrumentation it will only test the :args spec for afn

joost-diepenmaat15:12:10

never mind. I just noticed you have a bunch of answers.