- :when support in the simple unifier
- experimental defc macro for converting predicates into constraints
- add IUnitialized protocol to support defrecord
- many improvements to constraint framework & CLP(FD) functionality
- LOGIC-75: -force-ans implementations for clojure.lang.IPersistentHashMap & LCons
- LOGIC-73: fix partial-map
- LOGIC-69: fix IWalkTerm implementation
- LOGIC-67: fix defne & related macros in ClojureScript implementation
- LOGIC-64: add support for inequalities to eqfd
- Datomic support
- eqfd now supports - and /
- distinctfd goal behaved badly if argument wasn't ground
- LOGIC-62: distincto bug reveals much larger issues around how we look up constraints. because vars can be bound in any order and we use vars to map to constraints in the store we need a stable root var. constrained vars are now added as ::unbound in the substitution map. This information is used to know if a var is a root.
- partial map unification and easy unification now support in ClojureScript
- LOGIC-61: fix partial map support for CLJS
- LOGIC-63: fix simple unification support for CLJS
- removed deprecated IPrintable from core.logic CLJS, implemented IPrintWithWriter
- distinctfdc only needs to watch ::subst
- Improve performance of interval constraints
- LOGIC-49: Partial unfication with maps now possible with partial-map
- LOGIC-57: Improve performance of tabled goals
- eqfd sugar for easy declaration of equations
- LOGIC-46: Unification with struct maps supported
- Unification with domain types no longer supported
- Unification with sets no longer supported: LOGIC-54 through 56
- LOGIC-50: Rel relation PersistentHashSet becomes LazySeq after issuing a retraction
- everyo was a pseudo goal, rename to everyg
- add distincto relation, similar to distinctfd but uses !=
- cKanren extensions implemented
- Compatible with ClojureScript master
- fix to-stream
- users of to-stream should not have to remove failures themselves
- LOGIC-37: The facts and retractions functions do not take the relation's namespace into account when resolving the index.
Fix pattern matching so unification works on maps and sets
- Fix project layout so core.logic can work in both Clojure and ClojureScript applications
- fixed LConsSeq -pr-seq implementation
- Initial support for ClojureScriopt
- Allow retraction of facts
- LOGIC-32: fix unification with sets
- LOGIC-29: fix defrel bug where we were not checking recursively for logic vars
- LOGIC-24: fix regression, simple expression allowed in pattern matching again
- repair logic variable introduction in pattern matching macros
- metadata support for defne and friends
- remove unqualified symbols from defrel and defrel support macros
- default conde style now wraps conde clauses in vectors
- no need to use ?foo in patterns to declare logic variables
- two new non-relational helpers: pred, is
- fix broken all macro
- can now define facts on relations from other namespaces
- fix lingering reference to old namespace in all macro
- removed some redundant unification cases
- improved docstrings, fixed typos
- Consolidate all the useful name spaces into clojure.core.logic
- We now only overload ==, no more need to exclude reify or inc
You can use core.logic in your own projects with:
(ns foo.bar
(:refer-clojure :exclude [==])
(:use clojure.core.logic))