1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
3 ;;; --- Package definition.
6 (in-package :common-lisp-user
)
8 (defpackage :iolib.base
9 (:use
#:common-lisp
:alexandria
)
10 (:shadow
#:defun
#:defmethod
#:defmacro
#:define-compiler-macro
)
13 #:return
* #:lambda
* #:defun
#:defmethod
14 #:defmacro
#:define-compiler-macro
18 #:deprecation-warning-function-name
19 #:deprecation-warning-type
20 #:deprecation-warning-reason
23 #:enable-reader-macro
#:enable-reader-macro
*
24 #:disable-reader-macro
#:disable-reader-macro
*
26 #:split-sequence
#:split-sequence-if
#:split-sequence-if-not
28 #:function-name
#:function-name-p
29 #:check-bounds
#:multiple-value-case
#:flags-case
))
31 (flet ((gather-external-symbols (&rest packages
)
32 (let ((symbols (make-hash-table :test
#'eq
)))
33 (with-package-iterator (iterator packages
:external
)
34 (loop (multiple-value-bind (morep symbol
) (iterator)
35 (unless morep
(return))
36 (setf (gethash (alexandria:ensure-symbol symbol
:iolib.base
) symbols
) t
))))
37 (alexandria:hash-table-keys symbols
))))
38 (export (gather-external-symbols :common-lisp
:alexandria
:iolib.base
)