packages.lisp 1.05 KB
Newer Older
1
#+xcvb (module ())
2

3 4 5
(in-package #:cl-user)

(defpackage #:fare-matcher
6 7
  (:use #:fare-utils #:common-lisp)
  (:import-from :alexandria #:of-type)
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
  (:export #:match #:ifmatch #:ematch
	   #:_ ;;; #:*
	   #:like-when #:value #:of-type
	   #:slot* #:accessor* #:instance
	   ;;; #:quote #:when #:or #:and #:values
	   ;;; #:cons #:list #:list* #:vector #:satisfies
	   #:letm #:ifm
	   #:define-symbol-matcher
	   #:define-macro-matcher
	   #:define-function-matcher
	   #:define-constructor-matcher
	   #:define-varary-constructor-matcher
	   #:copy-symbol-matcher #:copy-symbol-and-matcher
	   #:copy-function-matcher #:copy-function-and-matcher
	   #:pattern-matcher
	   #:merge-matcher-variables
24
	   #:m%and #:m%fail #:m%when #:m%values)
25 26 27 28 29 30
  (:documentation
   "Lisp2-style Erlang/ML-like Pattern-Matcher for Common LISP")
  (:export))

(defpackage #:fare-clos-match
  (:use #:common-lisp #:fare-utils #:fare-matcher
31
        #+allegro #:aclmop
32
	#+cmu #:pcl #+sbcl #:sb-mop #+clisp :clos #+clozure #:ccl)
33
  (:export #:simple-load-form #:class-initarg-to-slot
34
	   #:instance))