Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

216 lines (168 sloc) 5.199 kb

From 0.8.0-beta3 to 0.8.0-beta4

Breaking Changes

  • Type specific unification protocols removed
  • Simple application expression in pattern matches no longer supported
  • PMap is now INonStorable - cannot be unified with a logic var


  • add featurec which replaces the functionality of partial-map
  • disequality no longer relies on unification
  • added support for deep constraints via fixc, treec demonstrates usage
  • fail faster when unifying counted sequential collections
  • add experimental support for :when in the simple unifier to support constraints

Bug Fixes

  • LOGIC-59: tabled goals reset between runs
  • many bad interactions between unification, FD constraints and disequality resolved
  • LOGIC-77: failing CLP(FD) case where logic vars are aliased
  • LOGIC-81: constraint store needs substitutions to find root vars
  • LOGIC-82: LCons with logic var tail bound to nil would not unify properly with sequences
  • LOGIC-85: another logic var aliasing issue

From 0.8-beta2 to 0.8.0-beta3


  • :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

From 0.8-beta1 to 0.8.0-beta2


  • 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

From 0.8-alpha2 to 0.8.0-beta1


  • 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

From 0.8-alpha2 to 0.8-alpha3


  • LOGIC-50: Rel relation PersistentHashSet becomes LazySeq after issuing a retraction

From 0.8-alpha1 to 0.8-alpha2


  • everyo was a pseudo goal, rename to everyg


  • add distincto relation, similar to distinctfd but uses !=

From 0.7.5 to 0.8-alpha1


  • cKanren extensions implemented

From 0.7.4 to 0.7.5


  • Compatible with ClojureScript master

From 0.7.3 to 0.7.4


  • fix to-stream

From 0.7.2 to 0.7.3


  • users of to-stream should not have to remove failures themselves

From 0.7.1 to 0.7.2


  • LOGIC-37: The facts and retractions functions do not take the relation's namespace into account when resolving the index.

From 0.7.0 to 0.7.1


Fix pattern matching so unification works on maps and sets

From 0.6.9 to 0.7.0


  • Fix project layout so core.logic can work in both Clojure and ClojureScript applications
  • fixed LConsSeq -pr-seq implementation

From 0.6.8 to 0.6.9


  • Initial support for ClojureScriopt

From 0.6.7 to 0.6.8


  • 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

From 0.6.6 to 0.6.7


  • repair logic variable introduction in pattern matching macros

From 0.6.5 to 0.6.6


  • 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

From 0.6.4 to 0.6.5


  • 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:

  (:refer-clojure :exclude [==])
  (:use clojure.core.logic))
Jump to Line
Something went wrong with that request. Please try again.