This is the immutable-struct Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 05:22:49 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
immutable-structLibrary that encourage the use of functional programming + pattern matching
Masataro Asai
LLGPL
0.1
trivia (system).
alexandria (system).
closer-mop (system).
src (module).
Modules are listed depth-first from the system components tree.
immutable-struct/srcimmutable-struct (system).
package.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
immutable-struct/immutable-struct.asdimmutable-struct (system).
immutable-struct/src/package.lispsrc (module).
append-constructor (function).
canonical-defstruct (function).
canonicalize-name-or-names (function).
Packages are listed by definition order.
immutable-structois
alexandria.
common-lisp.
trivia.level2.
trivia.skip.
append-constructor (function).
canonical-defstruct (function).
canonicalize-name-or-names (function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
A variation of defstruct, with read-only slots and automatically defined constructor.
+ The constructor name has the different convention compared to the default naming convention in cl.
It has (<name> &optional <slots...>) and has no keyword argument.
+ It adds read-only option in cl:defstruct to each slot definition.
+ It uses the noninterned symbols for the name of each slot, disallowing the use of slot-value.
+ It also defines a pattern matcher clause in exactly the same form as the constructor.
abbreviation of (declaim (ftype (function (<types...>) <type>) <name>)). the last type is used for the return type.
| Jump to: | A C D F M |
|---|
| Jump to: | A C D F M |
|---|
| Jump to: | F I M P S |
|---|
| Jump to: | F I M P S |
|---|