Module common-dylan
The common-dylan module.
Exported from
Library common-dylan
Summary
Module common-dylan
The common-dylan module.
common-dylan names
common-dylan names
-
:=
/
^
~
~=
~==
$double-float-epsilon
$extended-float-epsilon
$maximum-double-float-exponent
$maximum-extended-float-exponent
$maximum-integer
$maximum-single-float-exponent
$minimum-double-float-exponent
$minimum-extended-float-exponent
$minimum-integer
$minimum-single-float-exponent
$not-supplied
$single-float-epsilon
$unfound
*
&
+
<
<=
<abort>
<array>
<boolean>
<byte-character>
<byte-string>
<byte-vector>
<character>
<class>
<closable-object>
<collection>
<complex>
<condition>
<deque>
<double-float>
<empty-list>
<error>
<explicit-key-collection>
<extended-float>
<float>
<format-string-condition>
<function>
<general-integer>
<generic-function>
<integer>
<list>
<method>
<mutable-collection>
<mutable-explicit-key-collection>
<mutable-sequence>
<never-returns>
<number>
<object>
<object-deque>
<object-table>
<pair>
<range>
<rational>
<real>
<restart>
<sealed-object-error>
<sequence>
<serious-condition>
<simple-condition>
<simple-error>
<simple-object-vector>
<simple-restart>
<simple-vector>
<simple-warning>
<single-float>
<singleton>
<stream>
<stretchy-collection>
<stretchy-object-vector>
<stretchy-sequence>
<stretchy-vector>
<string>
<string-table>
<symbol>
<table>
<type>
<type-error>
<unicode-string>
<vector>
<warning>
=
==
>
>=
|
abort
abs
add
add!
add-method
add-new
add-new!
all-superclasses
always
any?
applicable-method?
application-arguments
application-filename
application-name
apply
aref
aref-setter
as
ash
as-lowercase
as-lowercase!
assert
as-uppercase
as-uppercase!
backward-iteration-protocol
begin
block
break
case
ceiling
ceiling/
cerror
check-type
choose
choose-by
class-definer
close
complement
compose
concatenate
concatenate!
concatenate-as
condition-format-arguments
condition-format-string
condition-to-string
conjoin
constant-definer
copy-sequence
curry
debug-assert
debug-message
decode-float
default-handler
difference
dimension
dimensions
direct-subclasses
direct-superclasses
disjoin
do
do-handlers
domain-definer
element
element-setter
empty?
error
even?
every?
exit-application
false?
false-or
fill!
fill-table!
find-element
find-key
find-method
first
first-setter
float-digits
float-precision
float-radix
float-to-string
floor
floor/
for
format-to-string
forward-iteration-protocol
found?
function-arguments
function-definer
function-return-values
function-specializers
gcd
generic-definer
generic-function-mandatory-keywords
generic-function-methods
head
head-setter
identity
if
ignorable
ignore
initialize
instance?
integer-length
integer-to-string
integral?
intersection
iterate
key-sequence
key-test
last
last-setter
lcm
library-definer
limited
list
logand
logbit?
logior
lognot
logxor
machine-word-to-string
make
map
map-as
map-into
max
member?
merge-hash-ids
method
method-definer
min
modulo
negative
negative?
number-to-string
object-class
object-hash
odd?
one-of
on-exit
pair
pop
pop-last
position
positive?
profiling
profiling-type-result
push
push-last
range
rank
rcurry
reduce
reduce1
remainder
remove
remove!
remove-all-keys!
remove-duplicates
remove-duplicates!
remove-key!
remove-method
replace-elements!
replace-subsequence!
restart-query
return-allowed?
return-description
return-query
reverse
reverse!
round
round/
row-major-index
scale-float
second
second-setter
select
shallow-copy
signal
singleton
size
size-setter
slot-initialized?
sort
sort!
sorted-applicable-methods
split
string-to-float
string-to-integer
string-to-machine-word
subclass
subsequence-position
subtype?
supplied?
table-definer
table-protocol
tail
tail-setter
third
third-setter
true?
truncate
truncate/
type-error-expected-type
type-error-location
type-error-value
type-for-copy
type-union
unfound
unfound?
union
unless
unsupplied
unsupplied?
until
values
variable-definer
vector
when
while
zero?
The common-dylan library.
Returns the difference of its arguments.
A macro.
Returns the quotient of its arguments.
Raises an object to a specified power.
Logical negation.
Compares two objects for inequality.
Compares two objects for nonidentity.
A constant.
A constant.
A constant.
A constant.
Holds the largest positive <integer>.
A constant.
A constant.
A constant.
Holds the smallest negative <integer>.
A constant.
A constant.
A constant.
A unique value that can be used to indicate that a search operation failed.
Multiplies two objects and returns the product.
A macro.
Adds two objects and returns the sum.
Returns true if its first operand is less than or equal to its second operand.
The class of conditions used to terminate a computation.
The class of sequences whose elements are arranged according to a Cartesian coordinate system.
The class of boolean values.
An ASCII character.
The class of vectors with elements that are eight-bit characters.
A <vector> that holds integers between 0 and 255 inclusively.
The class of characters.
The class of all Dylan classes.
A class.
The class of collections, aggregate data structures.
The class of complex numbers, including real numbers.
The class of objects used by the condition system to connect a signaler with an appropriate handler.
The class of double-ended queues.
The class of double-precision floating-point numbers.
The class with only one instance, the empty list.
The class of conditions that represent something invalid about the program.
The class of all collections that are not sequences.
The class of extended-precision floating-point numbers.
The class of floating-point numbers.
The class of conditions that take a format string.
The class of objects that can be applied to arguments.
Parent class of all integers.
The class of functions that are made up of a number of individual methods.
The class of integers.
The class of linked lists.
The class of functions that are applicable to arguments of a specified type.
The class of collections that may be modified.
The class of explicit key collections that can have elements replaced.
The class of sequences that may be modified.
A constant.
The class of all numbers.
The class of all Dylan objects.
A class.
The class of tables that compare keys using ==.
The class of lists that can have new values assigned to their heads and tails.
The class of arithmetic sequences.
The class of rational numbers.
The class of real numbers.
The class of conditions used to correct an unusual situation.
The class of errors that are generated by sealing violations.
The class of collections whose keys are consecutive integers starting from zero.
The class of conditions that cannot be safely ignored.
The class of simple conditions.
The class of error conditions that consist of just an error message constructed from a format string and arguments.
The class of simple vectors that may have elements of any type.
A default class of restarts.
The class of simple and efficient vectors.
A default class of warnings that are described by a warning string.
The class of single-precision floating-point numbers.
The class of singletons.
The superclass of all stream classes.
The class of collections that may grow or shrinking to accommodate adding or removing elements.
A class.
The class of stretchy sequences.
The class of vectors that are stretchy.
The class of sequences with elements that are characters.
A <table> class keyed by strings.
The class of symbols.
The class of tables (also known as hash tables).
The class of all types, including classes and other types.
The class of error conditions generated by type checks.
The class of vectors with elements that are sixteen-bit Unicode characters.
The class of arrays of rank one (
i.e.
, exactly one dimension).
The class of conditions that are interesting to users but can safely be ignored.
Compares two objects for identity.
A macro.
Returns the absolute value of its argument.
Adds an element to a sequence.
Adds an element to a sequence, possibly modifying the sequence.
Adds a method to a generic function.
Adds a new element to a sequence.
Adds a new element to a sequence, possibly modifying the sequence.
Returns the class precedence list of a class.
Returns a function that always returns a particular object.
Returns the first true value obtained by iterating over one or more collections.
Tests if a function is applicable to sample arguments.
Returns an application’s command-line arguments; in C terms, argv[1..n].
Returns an application’s filename.
The name of the application as specified on the command line; in C terms, argv[0].
Calls
function
and returns the values that
function
returns.
Returns the
array
element indicated by a set of
indices
.
Sets the array element indicated by a set of indices.
Coerces an object to a type.
Performs an arithmetic shift on the binary representation of its first argument.
Coerces an object to lowercase and returns the resulting new object.
Coerces an object to lowercase in place.
Signals an error if assumption is incorrect.
The method on <string> is equivalent to map-into(
string
, as-uppercase,
string
).
Coerces an object to uppercase in place.
Returns eight values used to implement reverse iteration over the
collection
argument.
A macro.
A macro.
Invokes the debugger.
A macro.
Truncates a real number toward positive infinity.
Returns the ceiling of the quotient of two numbers.
Signals a correctable error.
Checks an object to ensure that it is an instance of a specified type.
Returns those elements of a sequence that satisfy a predicate.
Returns those elements of a sequence that correspond to those in another sequence that satisfy a predicate.
Defines a constant binding in the current module and initializes it to a new class.
Closes a <closable-object>.
Returns a function that expresses the complement of a predicate.
Returns the composition of one or more functions.
Returns a sequence containing all the elements of all the sequences, in order.
A generic function.
Returns the concatenation of one or more sequences in a sequence of a specified type.
Returns the sequence of format arguments that was supplied as an initialization argument when the
simple-condition
was created.
Returns the format string that was supplied as an initialization argument when the
simple-condition
was created.
Returns a string representation of a condition object.
Returns a function that expresses the conjunction of one or more predicates.
Defines and initializes a constant binding in the current module.
Creates a freshly allocated sequence containing the elements of
source
between
start
and
end
.
Returns a function that applies
function
to
curried-args
plus its own arguments, in that order.
Identical to assert.
Formats a string and outputs it to the debugger.
A generic function.
Called if no dynamic handler handles a condition.
Returns a sequence containing the elements of one sequence that are not members of a second.
Returns the size of a specified dimension of an array.
Returns the dimensions of an array, as a sequence of integers.
Returns the direct subclasses of a class.
Returns the direct superclasses of a class.
Returns a function that expresses the disjunction of one or more predicates.
Iterates over one or more collections for side effect.
Applies a function to all dynamically active handlers, the most recently established first.
A macro.
Returns the
collection
element associated with a particular
key
.
Sets the collection element associated with a particular key.
Returns true if its argument is empty.
Returns true if its argument is an even number.
Returns true if a predicate returns true when applied to all corresponding elements of a set of collections.
Causes the application to quit with a return code of
exit-code
.
A function.
Creates a class that is either #f or the supplied class.
Fills a collection with a specified value.
Fills a table with the keys and elements supplied.
Returns an element from a collection such that the element satisfies a predicate.
Returns the key in a collection such that the corresponding collection element satisfies a predicate.
Returns the method in a generic function that has particular specializers.
Returns the first element of a sequence.
Sets the first element of a mutable sequence.
A generic function.
A generic function.
A function.
Formats a floating-point number to a string.
Truncates a real number toward negative infinity.
Returns the floor of the quotient of two numbers.
A macro.
There are two unrelated format-to-string functions.
Returns eight values used to implement iteration over the
collection
argument.
Returns true if an object is not equal to $unfound, and false otherwise.
Returns information about the arguments accepted by a function.
Defines a constant binding in the current module and initializes it to a new function.
Returns information about the values returned by a function.
Returns the specializers of a function.
Returns the greatest common divisor of its two arguments.
Defines a constant binding in the current module and initializes it to a new generic function.
Returns the mandatory keywords of a generic function, if any.
Returns the methods of a generic function.
Returns the head of a list.
Sets the head of a pair to contain an object and returns the object.
Returns its argument.
A macro.
A compiler directive that tells the compiler it need not issue a warning if its argument is bound but not referenced.
A compiler directive that tells the compiler it must not issue a warning if its argument is bound but not referenced.
Performs instance initialization that cannot be specified declaratively by a class definition.
Returns true if
object
is a general instance of
type
.
A generic function.
Converts an integer to a string value.
Returns true if its argument is an integer.
Returns the intersection of two sequences, a new sequence containing only those elements of
sequence1
that also appear in
sequence2
.
Defines a function that can be used to iterate over a body.
Returns a sequence containing the keys of its collection argument.
Returns the function used by its collection argument to compare keys.
Returns the last element of
sequence
.
Replaces the last element of a mutable sequence with a new value.
Returns the least common multiple of its two arguments.
A macro.
Returns a limited subtype of a class.
Returns the bitwise
and
of its arguments.
Tests the value of a particular bit in its argument.
Returns the bitwise
inclusive or
of its arguments.
Returns the bitwise
not
of its argument.
Returns the bitwise
exclusive or
of its arguments.
A function.
Returns a general instance of its first argument.
Iterates over one or more collections and collects the results in a freshly allocated collection.
Iterates over one or more collections and collects the results in a freshly allocated collection of a specified type.
Iterates over one or more collections and collects the results in an existing mutable collection.
Returns the greatest of its arguments.
Returns true if
collection
contains
value
as determined by
test
.
Returns a hash id created from the merging of two argument hash ids.
A macro.
Returns the least of its arguments.
Returns the second value of #floor/#.
Returns the negation of its argument.
A generic function.
Returns the class of which
object
is a direct instance.
Returns a hash-code for
object
that corresponds to the equivalence predicate ==.
Returns true if its argument is an odd number.
Creates a class that is one of the supplied arguments.
Adds a function to be called just before quitting.
Removes and returns the first element of a deque.
Removes and returns an element from the end of a deque.
Returns the key at which a particular value occurs in a sequence.
Returns true if its argument is positive.
A macro.
A generic function.
Adds an element to the front of a deque.
Adds an element to the end of a deque.
Returns the number of dimensions of an array.
Returns a function that applies
function
to
curried-args
plus its own arguments, with the
curried-args
occurring last.
Returns the result of combining the elements of
collection
and
initial-value
according to
function
.
Returns the combination of the elements of
collection
according to
function
.
Returns the second value of #truncate/#.
Removes an element from a sequence.
Removes an element from a sequence, possibly modifying the sequence.
Remove all keys from a table.
Returns a sequence without duplicates.
Returns a sequence without duplicates, possibly modifying the sequence.
Modifies
collection
so that it no longer has a key equal to
key
.
Removes a method from a generic function.
Replaces those elements of
mutable-collection
for which
predicate
returns true.
Replaces a portion of a sequence with the elements of another sequence.
Called to query the user and restart.
Returns true if a condition’s recovery protocol allows returning values.
Returns a description of a condition’s returned values.
Queries the user for values to return.
Returns a sequence containing the same elements as a source sequence, but in reverse order.
Returns a sequence containing the same elements as a source sequence, but in reverse order.
Rounds a real number toward the nearest mathematical integer.
Rounds off the quotient of two numbers.
Returns the row-major index position of an array element.
A generic function.
Returns the second element of a sequence.
Sets the second element of a mutable sequence.
A macro.
Returns a new object that has the same contents as its argument.
Signals a condition.
Returns the size of its argument.
Sets the size of an object.
Tests whether a slot has been initialized.
Returns a sequence containing the elements of a source sequence sorted into ascending order.
Returns a sequence containing the elements of a source sequence sorted into ascending order.
Returns all the methods in a generic function that are applicable to sample arguments, sorted in order of specificity.
There are two unrelated functions named split.
A generic function.
Read a sequence of characters as an integer.
A function.
Returns a type representing a class and its subclasses.
Returns the position where a pattern appears in a sequence.
Returns true if
type1
is a subtype of
type2
.
Returns true if its argument, the keyword argument of a function, is not the unique “unsupplied” value, and false if it is.
Defines a constant binding in the current module and initializes it to a new table object.
Returns the
test-function
and
hash-function
for the <table>.
Returns the tail of a list.
Sets the tail of a pair to contain an object and returns the object.
Returns the third element of a sequence.
Sets the third element of a mutable sequence.
A function.
Truncates a real number toward zero.
Returns the truncated quotient of two numbers.
Returns the expected type of the type check that led to the type error.
A generic function.
Returns the value that was not of the expected type, and thereby led to the type error.
Returns an appropriate type for creating mutable copies of its argument.
Returns the union of two or more types.
Returns the unique “unfound” value, $unfound.
Returns the union of two sequences, a sequence containing every element of
sequence1
and
sequence2
.
A macro.
Returns the unique “unsupplied” value.
A macro.
Returns its arguments as multiple values.
Defines and initializes a variable binding in the current module.
Executes a body if a test expression is true, and does nothing if the test is false.
A macro.
Returns true if its argument is equal to zero.