This is the trivial-utilities Reference Manual, version 0.4.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:57:50 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
trivial-utilities
A collection of useful functions and macros.
Eric Diethelm <ediethelm@yahoo.com>
MIT
0.4.0
alexandria
(system).
iterate
(system).
closer-mop
(system).
package.lisp
(file).
trivial-utilities.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
trivial-utilities/trivial-utilities.asd
trivial-utilities/package.lisp
trivial-utilities/trivial-utilities.lisp
trivial-utilities/trivial-utilities.asd
trivial-utilities
(system).
trivial-utilities/trivial-utilities.lisp
trivial-utilities
(system).
aif
(macro).
alambda
(macro).
all-slots
(function).
aprog1
(macro).
aunless
(macro).
awhen
(macro).
blambda
(macro).
clone
(generic function).
collect-persistent-slots
(function).
demultiplex
(function).
equals
(generic function).
extract-additional-keys
(macro).
flatten
(generic function).
merge-lambda-lists
(function).
mklist
(function).
mkstr
(function).
negative-fixnum
(type).
non-negative-fixnum
(type).
non-positive-fixnum
(type).
once-only
(macro).
partition
(function).
positive-fixnum
(type).
single
(function).
symb
(function).
Packages are listed by definition order.
trivial-utilities
trivial-utilities is a collection of useful functions and macros.
common-lisp
.
aif
(macro).
alambda
(macro).
all-slots
(function).
aprog1
(macro).
aunless
(macro).
awhen
(macro).
blambda
(macro).
clone
(generic function).
collect-persistent-slots
(function).
demultiplex
(function).
equals
(generic function).
extract-additional-keys
(macro).
flatten
(generic function).
merge-lambda-lists
(function).
mklist
(function).
mkstr
(function).
negative-fixnum
(type).
non-negative-fixnum
(type).
non-positive-fixnum
(type).
once-only
(macro).
partition
(function).
positive-fixnum
(type).
single
(function).
symb
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Similar to the normal *IF*, but binds the result of *TEST* via *LET* to *IT*.
Similar to *LAMBDA*, but defines *SELF* via *LABELS* which contains the *BODY*. *SELF* can be referenced in *BODY*.
Similar to the normal *PROG1*, but binds the result of *FIRST* via *LET* to *IT* and returns *IT*.
Similar to the normal *UNLESS*, but binds the result of *TEST* via *LET* to *IT*.
Similar to the normal *WHEN*, but binds the result of *TEST* via *LET* to *IT*.
Similar to *LAMBDA*, but defines an unnamed *BLOCK* from which one can *RETURN*.
Convenience macro to extract keywords including default values from a plist, such as (:a 1 :b 2 :c 3). Usually used in conjunction with (&rest keys &key &allow-other-keys).
*KEYS* - The keys to be extracted. This follows the syntax of **let**. Example: ((a nil) b (c t c-was-in-args-p))
*ARGS* - A property list of keyword-value pairs
*BODY* - Code to be executed and which uses the extracted keys.
Protects against multiple evaluation of *NAMES* during macro-expansion. Usualy used inside of other macros.
Create a list containing all slots defined for *class*, including slots defined (recursively) in all superclasses.
Any slot which defines :initarg, is bound to a value and is not listed in *slots-to-ignore* will be appended in the form (initarg value).
Given a *LIST* of *LIST*s returns all combinations of the elements in each of the *LIST*s in *INPUT*.
Given two lambda lists, return one representing the unification of both.
Returns a new list containing *OBJ*, or *OBJ* itself if it is already a list.
Creates a string out of all elements in *ARGS*. Each element must be printable per *PRINC*.
Separates the contents of *SEQ* into two lists, depending on the result of *PRED* when applied to each element of *SEQ*.
Predicate verifying that *LST* is a list containing exactly one element.
Creates a new and internalized *SYMBOL*, named by applying *MKSTR* to *ARGS*.
A generic function to clone objects.
A generic equality comparison function.
Default method if all other cases fail. Uses cl:equal for comparison.
null
) (obj2 null
) &key &allow-other-keys) ¶Equality comparison of two *NULL* symbols always results in *T*.
list
) (obj2 list
) &key &allow-other-keys) ¶Equality comparison of two *LIST*s requires both to have the same length and each element to be equaly comparable (*EQUALS*).
string
) (obj2 string
) &key &allow-other-keys) ¶Equality comparison of two *STRING*s falls back to *string=*.
Flattens the structure of an object.
An implementation for *LIST*s already exists. Add specific implementations for special objects.
Defines all negative integer types upto and including -1.
Defines all non-negative integer types starting from and including 0.
Defines all non-positive integer types upto and including 0.
Defines all positive integer types starting from and including 1.
Jump to: | A B C D E F G M O P S |
---|
Jump to: | A B C D E F G M O P S |
---|
Jump to: | F N P S T |
---|
Jump to: | F N P S T |
---|