Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the autoexport Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Sun May 15 03:20:46 2022 GMT+0.
• Introduction | What autoexport is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
#+author: fami-com (Vladimir Ivanov) #+title: autoexport ** Intro ~autoexport~ is a small macro to export your definitions without any need to add them to your package's ~:export~ section. It's especially useful with class definitions as it also automatically exports slots, readers, writers and accessors. ** Example #+begin_src lisp (ql:quickload :autoexport) (defpackage :my-package (:use :cl)) (defpackage :other-package (:use :cl :autoexport)) ;; Switch to a package (in-package :other-package) (pub defun some-func () (format t "Hello, World!")) (pub defclass some-class () ((x :accessor x :initform :x) (y :accessor y :initform :y))) ;; Switch to a different package (in-package :my-package) (other-package:some-func) ; => Hello, World! ; Note a single colon (defvar *test-var* (make-instance 'other-package:some-class :x 1 :y 1)) (slot-value *test-var* 'other-package:x) ; => 1 (other-package:y *test-var*) ; => 1 (setf (other-package:y *test-var*) 100) ; => 100 (other-package:y *test-var*) ; => 100 #+end_src
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The autoexport system |
fami-com
BSD-3-Clause
A small library to automatically export definitions
autoexport.asd (file)
autoexport.lisp (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The autoexport.asd file | ||
• The autoexport/autoexport.lisp file |
Next: The autoexport/autoexport․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
autoexport.asd
autoexport (system)
Previous: The autoexport․asd file, Up: Lisp files [Contents][Index]
autoexport (system)
autoexport.lisp
pub (macro)
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The autoexport-system package | ||
• The autoexport package |
Next: The autoexport package, Previous: Packages, Up: Packages [Contents][Index]
autoexport.asd
Previous: The autoexport-system package, Up: Packages [Contents][Index]
autoexport.lisp (file)
common-lisp
pub (macro)
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions |
Previous: Definitions, Up: Definitions [Contents][Index]
• Exported macros |
Previous: Exported definitions, Up: Exported definitions [Contents][Index]
autoexport.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | A F L |
---|
Jump to: | A F L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | M P |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
M | |||
Macro, pub : | Exported macros | ||
| |||
P | |||
pub : | Exported macros | ||
|
Jump to: | M P |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | A P S |
---|
Jump to: | A P S |
---|