Trammel

a contracts-programming library for Clojure

Contracts Programming

the relationship between a class and its clients as a formal agreement, expressing each party's rights and obligations

read more

documentation

Trammel provides a set of functions used to ease the inclusion of contracts-programming for the Clojure programming language. In addition to providing a DSL for defining functions that adhere to a specific contract, Trammel provides a way to define isolated contracts that can later be applied to existing functions at runtime. Below you will find a more information on both approaches to contracts:

clojars → source code → tickets → wiki →