Copyright (C) 2013 Claire Alvis
Copyright (C) 2011-2013 Daniel P. Friedman, Oleg Kiselyov, Claire E. Alvis, Jeremiah J. Willcock, Kyle M. Carter, William E. Byrd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This library implements miniKanren (http://minikanren.org) with an extensible framework for defining constraints.
cKanren can be installed as a collection within Racket (http://racket-lang.org) as follows:
git clone git://github.com/calvis/cKanren.git
raco link .
raco setup cKanren
After setup finishes, you will be able to use miniKanren,
cKanren, and all constraint libraries that ship with cKanren.
If you are interested in writing miniKanren programs, you can
(require cKanren/miniKanren) for standard miniKanren definitions.
You can also require constraint libraries like
The following libraries have been tested extensively.
- Tree unification
- Disequality constraints
- Absento, symbolo, and numbero
All other constraints libraries are experimental.