package.lisp @ 3a8ee0586fdf

Add destructive unification

Will be used in the PAIP compiler.
author Steve Losh <steve@stevelosh.com>
date Tue, 22 Mar 2016 14:31:35 +0000
parents 2daf5fb2fe92
children f57121ef4229
(defpackage #:bones
  (:use #:cl)
  (:export #:hello))

(defpackage #:bones.paip
  (:use #:cl #:defstar #:bones.utils)
  (:documentation "Test?")
  (:export

   ;; Unification, constants
   #:unify
   #:fail #:no-bindings
   #:*check-occurs*

   ;; Destructive unification
   #:unify!
   #:unbound
   #:bound-p

   ;; Database management
   #:clear-db
   #:fact
   #:rule

   ;; Lisp data structures as results
   #:return-one
   #:return-all

   ;; Interactive queries
   #:query
   #:query-one
   #:query-all
   ))