Explain `CALL-PREVIOUS` and `*PREVIOUS*`.
[cl-mock.git] / src / package.lisp
index a41f543..8c92929 100644 (file)
@@ -1,12 +1,30 @@
-;;; -*- mode: lisp; syntax: common-lisp; coding: utf-8-unix; package: cl-user; -*-
+;; -*- mode: lisp; syntax: common-lisp; coding: utf-8-unix; package: cl-user; -*-
 
 (in-package #:cl-user)
-
+\f
 (defpackage #:cl-mock
   (:use #:closer-common-lisp #:alexandria)
-  (:export ;;; regular functions
-           #:dflet
+  (:export
+   ;; regular functions
+   #:maybe-fdefinition
+   #:set-fdefinition
+   #:set-or-unbind-fdefinition
+   #:call-with-function-bindings
+
+   #:progf
+   #:dflet
+
+   ;; mocking of regular functions
+   #:*previous*
+   #:*arguments*
+   #:call-previous
+   #:register-mock
+   #:invocations
+   #:if-called
+   #:unhandled
+   #:answer
+   #:call-with-mocks
+   #:with-mocks
 
-           ;;; mocking of regular functions
-           ;;; mocking of generic functions
-           ))
+   ;; mocking of generic functions
+   ))