Validateur is a Clojure validation library inspired by Ruby's ActiveModel. Validateur is functional: validators are functions, validation sets are higher-order functions, validation results are returned as values.
Validateur is built from the ground up for Clojure 1.3 and up.
With Leiningen:
[com.novemberain/validateur "1.2.0"]
With Maven:
<dependency>
<groupId>com.novemberain</groupId>
<artifactId>validateur</artifactId>
<version>1.2.0</version>
</dependency>
Please refer to the documentation guides for Validateur.
Our test suite has usage examples for each validator, built-in validation functions have docstrings.
Validateur uses Leiningen 2. Make sure you have it installed and then run tests against all supported Clojure versions using
lein2 all test
Then create a branch and make your changes on it. Once you are done with your changes and all tests pass, submit a pull request on Github.
Copyright (C) 2011-2012 Michael S. Klishin
Distributed under the Eclipse Public License, the same as Clojure.