This is the deoxybyte-utilities Reference Manual, version 0.11.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:58:33 2024 GMT+0.
deoxybyte-utilities/deoxybyte-utilities.asd
deoxybyte-utilities/deoxybyte-utilities/package.lisp
deoxybyte-utilities/deoxybyte-utilities/conditions.lisp
deoxybyte-utilities/deoxybyte-utilities/type-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/deoxybyte-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/numeric-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/cons-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/set-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/vector-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/string-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/octet-vector-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/clos-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/finite-state-machine.lisp
deoxybyte-utilities/deoxybyte-utilities/queue.lisp
deoxybyte-utilities/deoxybyte-utilities/sbcl.lisp
The main system appears first, followed by any subsystem dependency.
deoxybyte-utilities
Keith James
GPL v3
0.11.0
deoxybyte-systems
(system)., at least version "1.0.0"
deoxybyte-utilities
(module).
Modules are listed depth-first from the system components tree.
deoxybyte-utilities/deoxybyte-utilities
deoxybyte-utilities
(system).
package.lisp
(file).
conditions.lisp
(file).
type-utilities.lisp
(file).
deoxybyte-utilities.lisp
(file).
numeric-utilities.lisp
(file).
cons-utilities.lisp
(file).
set-utilities.lisp
(file).
vector-utilities.lisp
(file).
string-utilities.lisp
(file).
octet-vector-utilities.lisp
(file).
clos-utilities.lisp
(file).
finite-state-machine.lisp
(file).
queue.lisp
(file).
sbcl.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
deoxybyte-utilities/deoxybyte-utilities.asd
deoxybyte-utilities/deoxybyte-utilities/package.lisp
deoxybyte-utilities/deoxybyte-utilities/conditions.lisp
deoxybyte-utilities/deoxybyte-utilities/type-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/deoxybyte-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/numeric-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/cons-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/set-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/vector-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/string-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/octet-vector-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/clos-utilities.lisp
deoxybyte-utilities/deoxybyte-utilities/finite-state-machine.lisp
deoxybyte-utilities/deoxybyte-utilities/queue.lisp
deoxybyte-utilities/deoxybyte-utilities/sbcl.lisp
deoxybyte-utilities/deoxybyte-utilities.asd
deoxybyte-utilities
(system).
deoxybyte-utilities/deoxybyte-utilities/package.lisp
deoxybyte-utilities
(module).
deoxybyte-utilities/deoxybyte-utilities/conditions.lisp
package.lisp
(file).
deoxybyte-utilities
(module).
deprecation-warning
(condition).
formatted-condition
(condition).
invalid-argument-error
(condition).
invalid-operation-error
(condition).
message-of
(generic function).
missing-argument-error
(condition).
simple-text-condition
(condition).
arguments-of
(reader method).
feature-of
(reader method).
format-arguments-of
(reader method).
format-control-of
(reader method).
in-favour-of
(reader method).
parameters-of
(reader method).
parameters-of
(reader method).
text-of
(reader method).
deoxybyte-utilities/deoxybyte-utilities/type-utilities.lisp
conditions.lisp
(file).
deoxybyte-utilities
(module).
array-index
(type).
int16
(type).
int32
(type).
int8
(type).
nibble
(type).
octet
(type).
simple-octet-vector
(type).
uint16
(type).
uint32
(type).
uint8
(type).
vector-index
(type).
deoxybyte-utilities/deoxybyte-utilities/deoxybyte-utilities.lisp
type-utilities.lisp
(file).
deoxybyte-utilities
(module).
check-arguments
(macro).
collect
(function).
consume
(function).
copy-vector
(macro).
current
(function).
defgenerator
(macro).
discard
(function).
discarding-if
(function).
funcall-if-fn
(macro).
has-more-p
(function).
next
(function).
with-gensyms
(macro).
deoxybyte-utilities/deoxybyte-utilities/numeric-utilities.lisp
deoxybyte-utilities.lisp
(file).
deoxybyte-utilities
(module).
define-categorical-binner
(macro).
iota
(function).
number-generator
(function).
with-numeric-selector
(macro).
quotedp
(function).
deoxybyte-utilities/deoxybyte-utilities/cons-utilities.lisp
numeric-utilities.lisp
(file).
deoxybyte-utilities
(module).
assocdr
(macro).
assocpop
(macro).
assocpush
(macro).
collect-key-values
(function).
dotted-pair-p
(function).
exactly-n
(function).
exactly-one
(function).
flatten
(function).
intersperse
(function).
key-value
(function).
modify-key-value
(function).
nsplice
(function).
proper-list-p
(function).
rassocar
(macro).
remove-key-values
(function).
rplassoc
(macro).
splice
(function).
canonical-fn-args
(function).
deoxybyte-utilities/deoxybyte-utilities/set-utilities.lisp
cons-utilities.lisp
(file).
deoxybyte-utilities
(module).
linear-intersection
(function).
linear-set-difference
(function).
linear-set-equal
(function).
linear-set-exclusive-or
(function).
linear-subsetp
(function).
linear-union
(function).
deoxybyte-utilities/deoxybyte-utilities/vector-utilities.lisp
set-utilities.lisp
(file).
deoxybyte-utilities
(module).
binary-search
(function).
vector-positions
(function).
vector-split
(function).
vector-split-indices
(function).
deoxybyte-utilities/deoxybyte-utilities/string-utilities.lisp
vector-utilities.lisp
(file).
deoxybyte-utilities
(module).
concat-strings
(function).
contains-char-p
(function).
content-string-p
(function).
control-char-p
(function).
empty-string-p
(function).
ends-with-char-p
(function).
ends-with-string-p
(function).
every-char-p
(function).
has-char-at-p
(function).
starts-with-char-p
(function).
starts-with-string-p
(function).
str
(function).
string-positions
(function).
string-split
(function).
string-split-indices
(function).
txt
(function).
whitespace-char-p
(function).
whitespace-string-p
(function).
*whitespace-chars*
(special variable).
deoxybyte-utilities/deoxybyte-utilities/octet-vector-utilities.lisp
string-utilities.lisp
(file).
deoxybyte-utilities
(module).
octets-to-string
(function).
string-to-octets
(function).
deoxybyte-utilities/deoxybyte-utilities/clos-utilities.lisp
octet-vector-utilities.lisp
(file).
deoxybyte-utilities
(module).
all-classes
(function).
all-external-classes
(function).
all-external-generic-functions
(function).
deoxybyte-utilities/deoxybyte-utilities/finite-state-machine.lisp
clos-utilities.lisp
(file).
deoxybyte-utilities
(module).
make-conditional
(function).
deoxybyte-utilities/deoxybyte-utilities/queue.lisp
finite-state-machine.lisp
(file).
deoxybyte-utilities
(module).
make-queue
(function).
queue
(structure).
queue-append
(function).
queue-clear
(function).
queue-delete
(function).
queue-dequeue
(function).
queue-dequeue-if
(function).
queue-empty-p
(function).
queue-enqueue
(function).
queue-first
(function).
queue-head
(reader).
(setf queue-head)
(writer).
queue-last
(function).
queue-nth
(function).
queue-p
(function).
copy-queue
(function).
queue-length
(function).
queue-position
(function).
queue-tail
(reader).
(setf queue-tail)
(writer).
deoxybyte-utilities/deoxybyte-utilities/sbcl.lisp
queue.lisp
(file).
deoxybyte-utilities
(module).
all-slots
(function).
all-specialized-generic-functions
(function).
all-specialized-methods
(function).
all-superclasses
(function).
direct-subclasses
(function).
direct-superclasses
(function).
has-superclass-p
(function).
slot-documentation
(function).
all-slot-definitions
(function).
Packages are listed by definition order.
uk.co.deoxybyte-utilities
The deoxybyte-utilities system provides general
purpose utilities. These are for the most part simple, standalone
functions and macros. Once a particular function or macro has been
written more than once or twice in other systems, it normally gets
moved here.
Given the fluid nature of the contents of this system, its package’s exported symbols are intended primarily for use by other deoxybyte packages.
deoxybyte-utilities
dxu
common-lisp
.
all-classes
(function).
all-external-classes
(function).
all-external-generic-functions
(function).
all-slots
(function).
all-specialized-generic-functions
(function).
all-specialized-methods
(function).
all-superclasses
(function).
array-index
(type).
assocdr
(macro).
assocpop
(macro).
assocpush
(macro).
binary-search
(function).
check-arguments
(macro).
collect
(function).
collect-key-values
(function).
concat-strings
(function).
consume
(function).
contains-char-p
(function).
content-string-p
(function).
control-char-p
(function).
copy-vector
(macro).
current
(function).
defgenerator
(macro).
define-categorical-binner
(macro).
defsm
(macro).
defsmfun
(macro).
deprecation-warning
(condition).
direct-subclasses
(function).
direct-superclasses
(function).
discard
(function).
discarding-if
(function).
dotted-pair-p
(function).
empty-string-p
(function).
ends-with-char-p
(function).
ends-with-string-p
(function).
every-char-p
(function).
exactly-n
(function).
exactly-one
(function).
flatten
(function).
formatted-condition
(condition).
funcall-if-fn
(macro).
has-char-at-p
(function).
has-more-p
(function).
has-superclass-p
(function).
int16
(type).
int32
(type).
int8
(type).
intersperse
(function).
invalid-argument-error
(condition).
invalid-operation-error
(condition).
iota
(function).
key-value
(function).
linear-intersection
(function).
linear-set-difference
(function).
linear-set-equal
(function).
linear-set-exclusive-or
(function).
linear-subsetp
(function).
linear-union
(function).
make-queue
(function).
message-of
(generic function).
missing-argument-error
(condition).
modify-key-value
(function).
next
(function).
nibble
(type).
nsplice
(function).
number-generator
(function).
octet
(type).
octets-to-string
(function).
proper-list-p
(function).
queue
(structure).
queue-append
(function).
queue-clear
(function).
queue-delete
(function).
queue-dequeue
(function).
queue-dequeue-if
(function).
queue-empty-p
(function).
queue-enqueue
(function).
queue-first
(function).
queue-head
(reader).
(setf queue-head)
(writer).
queue-last
(function).
queue-nth
(function).
queue-p
(function).
rassocar
(macro).
remove-key-values
(function).
rplassoc
(macro).
simple-octet-vector
(type).
simple-text-condition
(condition).
slot-documentation
(function).
splice
(function).
starts-with-char-p
(function).
starts-with-string-p
(function).
str
(function).
string-positions
(function).
string-split
(function).
string-split-indices
(function).
string-to-octets
(function).
txt
(function).
uint16
(type).
uint32
(type).
uint8
(type).
vector-index
(type).
vector-positions
(function).
vector-split
(function).
vector-split-indices
(function).
whitespace-char-p
(function).
whitespace-string-p
(function).
with-gensyms
(macro).
with-numeric-selector
(macro).
*whitespace-chars*
(special variable).
all-slot-definitions
(function).
arguments-of
(generic reader).
canonical-fn-args
(function).
copy-queue
(function).
feature-of
(generic reader).
format-arguments-of
(generic reader).
format-control-of
(generic reader).
in-favour-of
(generic reader).
make-conditional
(function).
parameters-of
(generic reader).
queue-length
(function).
queue-position
(function).
queue-tail
(reader).
(setf queue-tail)
(writer).
quotedp
(function).
text-of
(generic reader).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Returns the cdr of the cons cell returned by calling (assoc KEY ALIST ARGS).
Pops a value from the cdr of the cons returned from ALIST by calling assoc with KEY and ARGS.
Pushes VAL onto the cdr of the cons returned from ALIST by calling assoc with KEY and ARGS.
Checks the validity of ARGUMENTS. If TEST-FORM returns false an
{define-condition invalid-argument-error} is raised. The default error
message may be refined with an additional ERROR-MESSAGE.
Arguments:
- test-form (form): A form to be evaluated. If the form returns NIL,
an error is raised.
- arguments (list symbols): A list of symbols to which argument values
are bound.
Optional:
- error-message (string): An error message string.
Rest:
- message-arguments (forms): Forms that evaluate to arguments for the error message.
Copies elements SOURCE indices SOURCE-START and SOURCE-END to DEST, inserting them into DEST at DEST-START onwards. If the function KEY is supplied, it is applied to each element of SOURCE prior to its insertion into DEST.
Returns a generator function that may be passed to any of the
generator utility functions {defun has-more-p} , {defun next}
and {defun current} .
Arguments:
- more-form (form): A form that returns T if the generator can supply
more values, or NIL otherwise. Used by {defun has-more-p } .
- next-form (form): A form that returns the next value of the
generator. Used by {defun next} .
Optional:
- current-form (form): A form that returns the current value of the
generator. Used by {defun current} .
Returns:
- A form that evaluates to an anonymous function.
Creates a closure that accepts a single fixnum argument. The argument
value is assigned to the appropriate bin and that bin’s total is
incremented. The closure returns two values, the bins as an array of
fixnums and the total number of times values did not fall into any
category. Note that the return values are cumulative across calls
because the counters are closed over.
Arguments:
- value (symbol): a symbol to which values are bound on the subsequent
category forms.
Rest:
- categories (forms): test forms, one for each bin, that evaluate to a
generalized boolean. These forms are evaulated in the order given in
to assign values to bins.
For example, counting numbers into four bins of odd/positive,
odd/negative, even/positive and even/negative.
;;; (define-categorical-binner x
;;; (and (oddp x) (plusp x))
;;; (and (oddp x) (minusp x))
;;; (and (evenp x) (plusp x))
;;; (and (evenp x) (minusp x)))
Returns:
- A closure accepting a numeric value.
Defines a finite state machine over STATES.
Arguments:
- states (list): A list of forms describing the state transitions. See
{defun defsmfun} .
For example:
;;; (let* ((seq (make-dna "atggtgcct"))
;;; (i 0)
;;; (len (length-of seq))
;;; (codons ())
;;; (codon ()))
;;; (defsm ((base0 ((< i len) base1
;;; (setf codon (list (element-of seq i)))
;;; (incf i))
;;; (t nil
;;; (reverse codons)))
;;; (base1 ((< i len) base2
;;; (push (element-of seq i) codon)
;;; (incf i))
;;; (t nil
;;; (reverse codons)))
;;; (base2 ((< i len) base0
;;; (push (element-of seq i) codon)
;;; (push (reverse codon) codons)
;;; (incf i))
;;; (t nil
;;; (reverse codons)))))
Returns a function that encapsulates a finite state machine over STATES.
Arguments:
- name (symbol): The name of the function.
- args (lambda list): The function lambda list.
- bindings (list): A list of parallel bindings (as for LET).
Rest:
- states (list): A list of forms describing the state
transitions. Each state form consists of a symbol that denotes a
current state and a series of conditional forms that act indicate
potential states that may be reached from the current state. The
tests are evaluated in turn as in a COND form.
(current-state (test1 next-state1 &rest actions)
(test2 next-state2 &rest actions)
(t nil))
When a test returns T, the machine moves to the next state once the
current state’s action forms are evaluated. A next state of NIL
indicates termination, at which point the function returns the
result of evaluating the last action form.
For example, the following definition returns a function that
partitions a DNA sequence into base triples (codons).
;;; (defsmfun codon-iterator (seq &key (start 0))
;;; ((i start)
;;; (len (length-of seq))
;;; (codons ())
;;; (codon ()))
;;; ((base0 ((< i len) base1
;;; (setf codon (list (element-of seq i)))
;;; (incf i))
;;; (t nil
;;; (reverse codons)))
;;; (base1 ((< i len) base2
;;; (push (element-of seq i) codon)
;;; (incf i))
;;; (t nil
;;; (reverse codons)))
;;; (base2 ((< i len) base0
;;; (push (element-of seq i) codon)
;;; (push (reverse codon) codons)
;;; (incf i))
;;; (t nil
;;; (reverse codons)))))
Returns:
- A function.
If FUNCTION is not null, funcalls FUNCTION on ARG, otherwise returns ARG.
Returns the car of the cons cell returned by calling (rassoc KEY ALIST ARGS).
Performs destructive replacement with VAL (using RPLACD) of the cdr of the cons returned when calling assoc on ALIST with KEY and ARGS.
Defines a local function NAME that accepts a single fixnum argument and returns an integer between 0 and NUM-BINS, indicating in which of NUM-BINS sequential, equal-sized bins that value belongs.
Arguments:
- name (symbol): the local function name.
- num-bins (integer): the number of bins into which values are to be
assigned.
Key:
- start (number): the lower bound of the range of values to be binned,
defaults to 0.
- end (number): the upper bound of the range of values to be binned.
- oob-error (boolean): if T the function will throw an
INVALID-ARGUMENT-ERROR when passed values less than START or greater
than END, otherwise the function will return NIL.
Returns a list of all classes defined in package PACKAGE-NAME, optionally restricted to those classes that have SUPERCLASS.
Returns a list of all exported classes defined in package PACKAGE-NAME, optionally restricted to those classes that have SUPERCLASS.
Returns a list of all the external generic functions in package PACKAGE-NAME.
Returns a sorted list of all slots of CLASS.
Returns a list of all generic functions specialized on CLASS, up to, but not including, class CEILING. The class CEILING defaults to STANDARD-OBJECT.
Returns a list of all methods specialized on CLASS, up to, but not including, class CEILING. The class CEILING defaults to STANDARD-OBJECT.
Returns a list of all superclasses of CLASS, up to, but not including, class CEILING. The class CEILING defaults to STANDARD-OBJECT.
Searches for ITEM in VECTOR by binary search.
Arguments:
- vector (vector): A sorted vector to be searched.
- item (object): The item to be found.
Key:
- test (function): The test used to compare ITEM with VECTOR elements.
- key (function): A key function with which to transform VECTOR elements.
- start (fixnum): The lower bound index of the search in VECTOR.
- end (fixnum): The upper bound index of the search in VECTOR.
Returns:
- An object, or NIL.
Returns a list of up to N values collected from generator function GEN. Uses {defun has-more-p} to test the generator and may return an empty list if no items are available.
For all keywords in list KEYWORDS, finds the keyword and its value in ARG-LIST, a list containing only keyword and value pairs. Returns two values, a list of matched keywords and a list of their corresponding values.
Returns a new simple-string created by concatenating, in the order supplied, the simple-strings contained in the vector STRS.
Applies consumer function CON with arguments ARGS.
Returns T if STR contains CHAR, determined by TEST (defaults to CHAR=) or NIL otherwise.
Returns T if any of the characters in STR are not whitespace as defined by WHITESPACE-CHAR-P, or NIL otherwise.
Returns T if CHAR is an ASCII control character (all characters with codes 0-31, inclusive, and the character with code 127), or NIL otherwise.
Returns the current value of generator function GEN.
Returns a list of the direct subclasses of CLASS.
Returns a list of the direct superclasses of CLASS.
Discards up to N values collected from generator function GEN. Uses {defun has-more-p} to test the generator and finally returns the number of values actually discarded.
Returns a new generator function that discards values from generator function GEN while they satisfy TEST.
Returns T if LIST is a dotted pair, or NIL otherwise.
Returns T if STR is a zero-length string or contains only whitespace as defined by WHITESPACE-CHAR-P, or NIL otherwise.
Returns T if STR has CHAR at its last index, determined by TEST (defaults to CHAR=), or NIL otherwise.
Returns T if STR1 ends with STR2, determined by TEST (defaults to STRING=), or NIL otherwise.
Applies predicate TEST to characters of string STR indicated by INDICES and returns T if all those characters match TEST.
Analagous to the ANSI standard functions EVERY and SOME, except that this function returns T if exactly N tests of PREDICATE are true, or NIL otherwise.
Analagous to the ANSI standard functions EVERY and SOME, except that this function returns T if exactly one test of PREDICATE is true, or NIL otherwise.
Returns a new list containing the members of TREE.
Returns T if STR has CHAR at INDEX, determined by TEST (defaults to CHAR=), or NIL otherwise.
Returns T if generator function GEN has more available values, or NIL otherwise.
Returns T if CLASS has SUPERCLASS, or NIL otherwise.
Returns a list containing the members of LIST interspersed with OBJ.
Generates a list of COUNT integers from START (defaults to 0) with subsequent integers STEP (defaults to 1) greater than the last, or less, if a negative STEP is given.
Returns the current value of KEYWORD in list ARG-LIST, a list containing only keyword and value pairs.
Returns a list that is the intersection of LIST1 and LIST2, in linear time. See CL:INTERSECTION for the meaning of KEY and TEST.
Returns a list that is the set difference of LIST1 and LIST2, in linear time. See CL:SET-DIFFERENCE for the meaning of KEY and TEST.
Returns a list that is the set exclusive-or of LIST1 and LIST2, in linear time. See CL:SET-EXCLUSIVE-OR for the meaning of KEY and TEST.
Returns T if LIST1 is a subset of LIST2, in linear time. See CL:SUBSETP for the meaning of KEY and TEST.
Returns a list that is the union of LIST1 and LIST2, in linear time. See CL:UNION for the meaning of KEY and TEST.
Returns a copy of ARG-LIST where the value corresponding to KEYWORD
has been replaced by the result of applying MOD-FN to that
value. MOD-FN must be a function that accepts KEYWORDS’s value and may
accept additional arguments supplied in FN-ARGS.
Returns the next available value from generator function GEN.
Destructively splices atom or list OBJ into LIST at position N.
Creates a closure of zero arity that returns an integer from START
with subsequent integers incrementing by STEP greater than the last,
or less, is a negative step is given.
Optional:
- start (integer): the start value, defaults to 0.
- step (integer): the step size, defaults to 1.
Returns:
- A closure of zero arity.
Returns a new simple-base-string created from the values in OCTET-VECTOR, a simple-array of (unsigned-byte 8), between indices START and END. The elements of the returned string are the result of calling code-char on the respective elements of OCTET-VECTOR.
Returns T if LIST is a proper list, or NIL otherwise. A proper list is defined as a list whose terminal cdr is NIL. This function does not test the list for circularity.
Inserts LISTS of items at the end of QUEUE and returns QUEUE.
Removes all items from queue, returning two values, the queue and a list of all the items that were in the queue.
Deletes the first occurrence of ITEM in QUEUE, if present, returning QUEUE. The TEST and KEY keyword arguments are the same as for CL:DELETE.
Removes one item from the front of QUEUE and returns two values. The first value is the item, or NIL if QUEUE was empty and the second value is T if an item was dequeued, or NIL otherwise.
Removes items from QUEUE that pass predicate TEST, returning two values, QUEUE and a list of the deleted items. The KEY keyword argument is the same as for C:DELETE-IF.
Returns T if QUEUE is empty, or NIL otherwise.
Inserts ITEM at the end of QUEUE and returns QUEUE.
Returns the first item in QUEUE, without removing it.
head
.
Returns the last item in QUEUE, without removing it.
Returns the Nth item in QUEUE.
Returns two values, a copy of ARG-LIST, a list containing only keyword and value pairs, with KEYWORDS and their values removed and an alist containing KEYWORDS and their corresponding values.
Returns the documentation string for SLOT of CLASS.
Splices atom or (a copy of) list OBJ into a copy of LIST at position N.
Returns T if STR has CHAR at index 0, determined by TEST (defaults to CHAR=), or NIL otherwise.
Returns T if STR1 starts with STR2, determined by TEST (defaults to STRING=), or NIL otherwise.
Returns the result of concatenating strings STRINGS.
Returns a list of strings made by splitting simple-string STR at CHAR, between START and END. If REMOVE-EMPTY-SUBSEQS is T, any empty subsequences will be omitted from the returned list.
Returns two values, a list of start indices and a list of end indices into STR between START and END such that if used as start/end arguments to subseq, STR will be split on CHAR. CHAR is compared with elements in STR using TEST, which defaults to EQL.
Returns a new vector of octets created from the simple-string STR, between indices START and END. The elements of the returned vector are the result of calling char-code on the respective characters of STR.
Returns the result of concatenating STRINGS, separated by spaces.
Returns a list of indices into VECTOR between START and END where ELT is present according to TEST (which defaults to EQL).
Returns a list of vectors made by splitting VECTOR at ELT, between START and END. ELT is compared with elements in VECTOR using TEST, which defaults to EQL. If REMOVE-EMPTY-SUBSEQS is T, any empty subsequences will be omitted from the returned list. If DISPLACE-TO-VECTOR id T, the returned subsequences will be displaced to the actual subsequences within VECTOR and will therefore share structure with VECTOR.
Returns two values, a list of start indices and a list of end indices into VECTOR between START and END such that if used as start/end arguments to subseq, VECTOR will be split on ELT. ELT is compared with elements in VECTOR using TEST, which defaults to EQL.
Returns T if CHAR is one of the currently bound set of whitespace characters (defaults to #Space #Tab #Return #Linefeed and #FormFeed), or NIL otherwise.
Returns T if all the characters in STR are whitespace as defined by WHITESPACE-CHAR-P, or NIL otherwise.
Returns the condition message string.
simple-text-condition
)) ¶formatted-condition
)) ¶A warning that is raised when a deprecated feature is used.
condition
.
The format control used to create
the condition message.
(quote nil)
:format-control
This slot is read-only.
The list of format arguments used
to create the condition message.
(quote nil)
:format-arguments
This slot is read-only.
An error that is raised when an invalid argument is passed to a function.
error
.
formatted-condition
.
The invalid parameters.
(quote "<not supplied>")
:parameters
This slot is read-only.
The invalid arguments.
(quote "<not supplied>")
:arguments
This slot is read-only.
An error that is raised when an invalid operation is attempted.
error
.
formatted-condition
.
An error that is raised when a required argument is not passed to a function.
error
.
formatted-condition
.
The invalid parameters.
(quote "<not supplied>")
:parameters
This slot is read-only.
condition
.
A FIFO queue. For consistency, all functions that operate on a QUEUE carry the QUEUE- prefix, even though this results in tautology for some functions, such as QUEUE-ENQUEUE/QUEUE-DEQUEUE. This is a standard way of making a linked-list queue; the QUEUE structure contains pointers to both the head and tail of a single list.
Array index type.
Alias for signed-byte 16.
Alias for signed-byte 32.
Alias for signed-byte 8.
Alias for unsigned-byte 4
Alias for unsigned-byte 8.
Alias for (simple-array (unsigned-byte 8) (*)), using a naming convention analagous to simple-base-string.
Alias for unsigned-byte 16.
Alias for unsigned-byte 32.
Alias for unsigned-byte 8.
Vector index type.
Whitespace characters.
Returns a list of all slot definitions of CLASS.
Returns a canonical version of FN-ARGS corresponding to LAMBDA-LIST.
Returns the length of QUEUE.
Returns the zero-based index of ITEM in QUEUE, or NIL if ITEM is not present. The TEST and KEY keyword arguments are the same as for CL:POSITION.
tail
.
Returns T if FORM is quoted.
invalid-argument-error
)) ¶deprecation-warning
)) ¶formatted-condition
)) ¶formatted-condition
)) ¶deprecation-warning
)) ¶missing-argument-error
)) ¶invalid-argument-error
)) ¶simple-text-condition
)) ¶text
.
Jump to: | (
A B C D E F G H I K L M N O P Q R S T V W |
---|
Jump to: | (
A B C D E F G H I K L M N O P Q R S T V W |
---|
Jump to: | *
A F H I P S T |
---|
Jump to: | *
A F H I P S T |
---|
Jump to: | A C D F I M N O P Q S T U V |
---|
Jump to: | A C D F I M N O P Q S T U V |
---|