The new Clojure spec library provides support for data and function specification. In this first in a series of screencasts, Stuart Halloway discusses how spec provides leverage to achieve many returns for a small investment in describing your functions with spec.

spec provides leverage in the following areas:

Validation

Conformance

Destructuring

Error messages

Composition

Example Data Generation

Assertion

Documentation

Generative Testing

Instrumentation

Find out how Cognitect can help you get the most out of Clojure, including bringing your team up to speed on tools and practices, and introducing the latest additions to the ecosystem.