Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the defvariant Reference Manual, version 1.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 04:25:50 2022 GMT+0.
Next: Systems, Previous: The defvariant Reference Manual, Up: The defvariant Reference Manual [Contents][Index]
Variants for Common Lisp (for ML nostalgics ?)
(defpackage :try-defvariant
(:use :cl :defvariant))
(in-package :try-defvariant)
(defvariant btree
(leaf)
(node val left right))
=> MATCH-BTREE
(let ((my-tree
(make-btree-node :val 42
:left (make-btree-leaf)
:right (make-btree-leaf))))
(match-btree my-tree
(leaf _ "leaf !")
(node (v _ _) v)))
=> 42
See. defvariant.md
for the whole story.
Next: Files, Previous: Introduction, Up: The defvariant Reference Manual [Contents][Index]
The main system appears first, followed by any subsystem dependency.
Variants in Common Lisp.
Frederic Peschanski (format nil
BSD 2-Clause. See LICENSE.
1.1
Next: Packages, Previous: Systems, Up: The defvariant Reference Manual [Contents][Index]
Files are sorted by type and then listed depth-first from the systems components trees.
Next: defvariant/package.lisp, Previous: Lisp, Up: Lisp [Contents][Index]
defvariant (system).
Next: defvariant/defvariant.lisp, Previous: defvariant/defvariant.asd, Up: Lisp [Contents][Index]
defvariant (system).
Previous: defvariant/package.lisp, Up: Lisp [Contents][Index]
package.lisp (file).
defvariant (system).
Next: Definitions, Previous: Files, Up: The defvariant Reference Manual [Contents][Index]
Packages are listed by definition order.
variant
common-lisp.
Next: Indexes, Previous: Packages, Up: The defvariant Reference Manual [Contents][Index]
Definitions are sorted by export status, category, package, and then by lexicographic order.
Next: Internals, Previous: Definitions, Up: Definitions [Contents][Index]
Next: Generic functions, Previous: Public Interface, Up: Public Interface [Contents][Index]
Next: Conditions, Previous: Macros, Up: Public Interface [Contents][Index]
Previous: Generic functions, Up: Public Interface [Contents][Index]
error.
:message
This slot is read-only.
Previous: Public Interface, Up: Definitions [Contents][Index]
Parameter for enabling/disabling
the ‘EXAMPLE‘ macro. Use NIL in production code.
Next: Ordinary functions, Previous: Special variables, Up: Internals [Contents][Index]
Show an evaluation example, useful for documentation and lightweight testing.
(example ‘EXPR‘ => ‘EXPECTED‘) evaluates ‘EXPR‘ and compare, wrt. ‘EQ?‘
(EQUAL by default) to ‘EXPECTED‘ and raise an error if inequal.
Set ‘WARN-ONLY‘ to T for warning instead of error.
An abbreviation for MULTIPLE-VALUE-BIND.
Next: Generic functions, Previous: Macros, Up: Internals [Contents][Index]
Converts to a string and append all ‘ARGS‘.
Converts to a string, append and create a symbol from the result.
Next: Conditions, Previous: Ordinary functions, Up: Internals [Contents][Index]
Previous: Definitions, Up: The defvariant Reference Manual [Contents][Index]
Jump to: | B D E F G L M S |
---|
Jump to: | B D E F G L M S |
---|
Next: Data types, Previous: Functions, Up: Indexes [Contents][Index]
Jump to: | *
M S |
---|
Jump to: | *
M S |
---|
Jump to: | C D F M P S |
---|
Jump to: | C D F M P S |
---|