ListTalk Base Environment
294 direct bindings from a fresh base environment.
| Name | Kind | Binding |
|---|---|---|
%modules | Nil | mutable |
%self-slot | macro | constant |
* | primitive | constant |
+ | primitive | constant |
- | primitive | constant |
/ | primitive | constant |
< | primitive | constant |
<= | primitive | constant |
= | primitive | constant |
> | primitive | constant |
>= | primitive | constant |
AsconRNG | class | constant |
BigInteger | class | constant |
BindingDescriptor | class | constant |
Boolean | class | constant |
ByteVector | class | constant |
ByteVectorIterator | class | constant |
Character | class | constant |
Class | class | constant |
Closure | class | constant |
ComplexNumber | class | constant |
CompoundForm | class | constant |
Condition | class | constant |
ConditionVariable | class | constant |
DateTime | class | constant |
Dictionary | class | constant |
DictionaryIterator | class | constant |
DigestSHA256 | class | constant |
Duration | class | constant |
DynamicVariable | class | constant |
EmptyIterator | class | constant |
Environment | class | constant |
Error | class | constant |
ExactComplexNumber | class | constant |
FileStream | class | constant |
Float | class | constant |
Fraction | class | constant |
Function | class | constant |
IdentityDictionary | class | constant |
IdentityDictionaryIterator | class | constant |
IdentitySet | class | constant |
ImmutableDictionary | class | constant |
ImmutableList | class | constant |
IncompleteInputSyntaxError | class | constant |
InexactComplexNumber | class | constant |
Instant | class | constant |
Integer | class | constant |
InvocationContextKind | class | constant |
Iterator | class | constant |
List | class | constant |
ListIterator | class | constant |
Macro | class | constant |
MapIterator | class | constant |
Message | class | constant |
MessageDigest | class | constant |
MessageQueue | class | constant |
MethodDescriptor | class | constant |
MutablePair | class | constant |
Mutex | class | constant |
Nil | class | constant |
Number | class | constant |
Object | class | constant |
Package | class | constant |
Pair | class | constant |
Primitive | class | constant |
Printer | class | constant |
RandomNumberGenerator | class | constant |
RationalNumber | class | constant |
ReadWriteLock | class | constant |
Reader | class | constant |
ReaderError | class | constant |
RealNumber | class | constant |
Restart | class | constant |
Set | class | constant |
SetIterator | class | constant |
SmallFraction | class | constant |
SmallInteger | class | constant |
SpecialForm | class | constant |
Stream | class | constant |
String | class | constant |
StringIterator | class | constant |
SubclassResponsibilityError | class | constant |
Symbol | class | constant |
SystemError | class | constant |
Thread | class | constant |
UTCDateTime | class | constant |
UUID | class | constant |
Vector | class | constant |
VectorIterator | class | constant |
Warning | class | constant |
WeakIdentitySet | class | constant |
WeakKeyIdentityDictionary | class | constant |
WeakReference | class | constant |
WeakValueIdentityDictionary | class | constant |
XoshiroRNG | class | constant |
abs | primitive | constant |
alist->plist | primitive | constant |
and | special form | constant |
any | primitive | constant |
append | primitive | constant |
apply | primitive | constant |
assoc | primitive | constant |
assq | primitive | constant |
assv | primitive | constant |
begin | special form | constant |
boolean? | primitive | constant |
bytevector | primitive | constant |
bytevector->string | primitive | constant |
bytevector-append | primitive | constant |
bytevector-copy | primitive | constant |
bytevector-length | primitive | constant |
bytevector-u8-ref | primitive | constant |
bytevector-u8-set! | primitive | constant |
bytevector? | primitive | constant |
caaaar | primitive | constant |
caaadr | primitive | constant |
caaar | primitive | constant |
caadar | primitive | constant |
caaddr | primitive | constant |
caadr | primitive | constant |
caar | primitive | constant |
cadaar | primitive | constant |
cadadr | primitive | constant |
cadar | primitive | constant |
caddar | primitive | constant |
cadddr | primitive | constant |
caddr | primitive | constant |
cadr | primitive | constant |
car | primitive | constant |
catch | special form | constant |
cdaaar | primitive | constant |
cdaadr | primitive | constant |
cdaar | primitive | constant |
cdadar | primitive | constant |
cdaddr | primitive | constant |
cdadr | primitive | constant |
cdar | primitive | constant |
cddaar | primitive | constant |
cddadr | primitive | constant |
cddar | primitive | constant |
cdddar | primitive | constant |
cddddr | primitive | constant |
cdddr | primitive | constant |
cddr | primitive | constant |
cdr | primitive | constant |
ceiling | primitive | constant |
character? | primitive | constant |
class-slots | primitive | constant |
class? | primitive | constant |
closure? | primitive | constant |
complex? | primitive | constant |
cond | special form | constant |
cons | primitive | constant |
cos | primitive | constant |
current-restarts | primitive | constant |
define | macro | constant |
define-class | macro | constant |
define-condition-variable | macro | constant |
define-constant | macro | mutable |
define-constructor | macro | constant |
define-macro | macro | mutable |
define-message-queue | macro | constant |
define-method | macro | constant |
define-mutex | macro | constant |
define-package | primitive | constant |
define-rwlock | macro | constant |
display | primitive | constant |
dynamic-let | macro | constant |
environment? | primitive | constant |
eq? | primitive | constant |
equal? | primitive | constant |
eqv? | primitive | constant |
error | primitive | constant |
eval | primitive | constant |
every | primitive | constant |
expt | primitive | constant |
find-restart | primitive | constant |
floor | primitive | constant |
fold-expression | primitive | constant |
fold-left | primitive | constant |
fold-right | primitive | constant |
for-each | primitive | constant |
format | primitive | constant |
function? | primitive | constant |
gensym | primitive | constant |
get-current-environment | special form | constant |
handler-bind | special form | constant |
if | special form | constant |
in-package | primitive | constant |
integer? | primitive | constant |
invoke-restart | primitive | constant |
keyword? | primitive | constant |
lambda | macro | constant |
length | primitive | constant |
let | macro | constant |
let* | macro | constant |
letrec | special form | constant |
list | primitive | constant |
list->string | primitive | constant |
list->vector | primitive | constant |
list-ref | primitive | constant |
list? | primitive | constant |
load! | macro | constant |
log | primitive | constant |
macro | special form | constant |
macro? | primitive | constant |
macroexpand | primitive | constant |
make-bytevector | primitive | constant |
make-class | primitive | constant |
make-instance | primitive | constant |
make-vector | primitive | constant |
map | primitive | constant |
max | primitive | constant |
memq | primitive | constant |
min | primitive | constant |
module-resolvers | MutablePair | mutable |
negative? | primitive | constant |
not | primitive | constant |
null? | primitive | constant |
number->string | primitive | constant |
number? | primitive | constant |
or | special form | constant |
pair? | primitive | constant |
phase | primitive | constant |
pi | Float | constant |
plist->alist | primitive | constant |
positive? | primitive | constant |
primitive? | primitive | constant |
provide | macro | constant |
quasiquote | special form | constant |
quote | special form | constant |
rational? | primitive | constant |
read | primitive | constant |
read-file-as-data | primitive | constant |
read-string-as-data | primitive | constant |
real? | primitive | constant |
reduce-left | primitive | constant |
reduce-right | primitive | constant |
require | macro | constant |
restart-bind | macro | constant |
reverse | primitive | constant |
round | primitive | constant |
send | macro | constant |
set! | macro | constant |
sin | primitive | constant |
sleep | primitive | constant |
slot-ref | primitive | constant |
slot-set! | primitive | constant |
special-form? | primitive | constant |
sqrt | primitive | constant |
string->bytevector | primitive | constant |
string->list | primitive | constant |
string-append | primitive | constant |
string-join | primitive | constant |
string-length | primitive | constant |
string-ref | primitive | constant |
string? | primitive | constant |
substring | primitive | constant |
symbol-name | primitive | constant |
symbol? | primitive | constant |
tan | primitive | constant |
throw | special form | constant |
truncate | primitive | constant |
type-of | primitive | constant |
unless | macro | constant |
unwind-protect | special form | constant |
use-package | primitive | constant |
vector | primitive | constant |
vector->list | primitive | constant |
vector-length | primitive | constant |
vector-ref | primitive | constant |
vector-set! | primitive | constant |
vector? | primitive | constant |
when | macro | constant |
while | macro | constant |
with-gensyms | macro | constant |
with-mutex | macro | constant |
with-read-lock | macro | constant |
with-write-lock | macro | constant |
zero? | primitive | constant |
λ | macro | constant |
ListTalk-implementation:%closure | macro | constant |
ListTalk-implementation:%define | special form | constant |
ListTalk-implementation:%define-constant | special form | constant |
ListTalk-implementation:%dynamic-ref | primitive | constant |
ListTalk-implementation:%lambda | special form | constant |
ListTalk-implementation:%let | special form | constant |
ListTalk-implementation:%load! | primitive | constant |
ListTalk-implementation:%require | primitive | constant |
ListTalk-implementation:%restart-bind | special form | constant |
ListTalk-implementation:%send | special form | constant |
ListTalk-implementation:%set! | special form | constant |
ListTalk-implementation:%super-send | special form | constant |
ListTalk-implementation:%while | special form | constant |
Documentation
%self-slot
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:slot-name)
Expand method-local slot shorthand to a self slot reference.
*
- Kind
- primitive
- Binding
- constant
- Lambda list
(:rest n)
Return product of numeric arguments.
+
- Kind
- primitive
- Binding
- constant
- Lambda list
(:rest n)
Return sum of numeric arguments.
-
- Kind
- primitive
- Binding
- constant
- Lambda list
(n :rest n)
Negate one value or subtract remaining values from first.
/
- Kind
- primitive
- Binding
- constant
- Lambda list
(n :rest n)
Divide first value by remaining values.
<
- Kind
- primitive
- Binding
- constant
- Lambda list
(n :rest n)
Return true when numeric arguments are in strictly ascending order.
<=
- Kind
- primitive
- Binding
- constant
- Lambda list
(n :rest n)
Return true when numeric arguments are in non-descending order.
=
- Kind
- primitive
- Binding
- constant
- Lambda list
(n :rest n)
Return true when all numeric arguments are equal.
>
- Kind
- primitive
- Binding
- constant
- Lambda list
(n :rest n)
Return true when numeric arguments are in strictly descending order.
>=
- Kind
- primitive
- Binding
- constant
- Lambda list
(n :rest n)
Return true when numeric arguments are in non-ascending order.
AsconRNG
- Kind
- class
- Binding
- constant
Cryptographically secure Ascon-XOF128 random number generator.
Direct methods
:bytes:(self length)Return a bytevector with length cryptographically strong random bytes.
Direct class methods
:fromByteVector:(self seed)Return an Ascon-XOF128 random number generator initialized from 32 seed bytes.
:random(self)Return an Ascon-XOF128 random number generator initialized from system entropy.
BigInteger
- Kind
- class
- Binding
- constant
Arbitrary-precision exact integer value.
Direct methods
None.
Direct class methods
None.
BindingDescriptor
- Kind
- class
- Binding
- constant
Immutable description of an environment binding.
Direct methods
:<(self ListTalk-implementation:other)Return true when receiver sorts before other by symbol.
:<=(self ListTalk-implementation:other)Return true when receiver sorts before or equal to other by symbol.
:>(self ListTalk-implementation:other)Return true when receiver sorts after other by symbol.
:>=(self ListTalk-implementation:other)Return true when receiver sorts after or equal to other by symbol.
:compareWith:(self ListTalk-implementation:other)Compare binding descriptors by symbol.
:constant?(self)Return true when binding is constant.
:flags(self)Return binding flags.
:symbol(self)Return binding symbol.
:value(self)Return binding value.
Direct class methods
None.
Boolean
- Kind
- class
- Binding
- constant
Truth values #true and #false.
Direct methods
:and:(self ListTalk-implementation:block)Return the receiver, or call block when the receiver is truthy.
:ifFalse:(self ListTalk-implementation:falseBlock)Call falseBlock when the receiver is falsey.
:ifFalse:ifTrue:(self ListTalk-implementation:falseBlock ListTalk-implementation:trueBlock)Call falseBlock when falsey, otherwise call trueBlock.
:ifTrue:(self ListTalk-implementation:trueBlock)Call trueBlock when the receiver is truthy.
:ifTrue:ifFalse:(self ListTalk-implementation:trueBlock ListTalk-implementation:falseBlock)Call trueBlock when truthy, otherwise call falseBlock.
:or:(self ListTalk-implementation:block)Return the receiver, or call block when the receiver is falsey.
Direct class methods
None.
ByteVector
- Kind
- class
- Binding
- constant
Mutable indexed sequence of bytes.
Direct methods
:<(self other)Return true when receiver is lexicographically less than argument.
:<=(self other)Return true when receiver is lexicographically less than or equal to argument.
:>(self other)Return true when receiver is lexicographically greater than argument.
:>=(self other)Return true when receiver is lexicographically greater than or equal to argument.
:append:(self other)Return a new bytevector with other appended.
:asBase16(self)Return an uppercase hexadecimal string encoding the receiver bytes.
:asBase64(self)Return a base64 string encoding the receiver bytes.
:asBase64URI(self)Return a URI-safe base64 string encoding the receiver bytes.
:asBase64URIWithPadding:(self include_padding)Return a URI-safe base64 string, optionally omitting padding.
:asBase64WithPadding:(self include_padding)Return a base64 string, optionally omitting padding.
:asIterator(self)Return an iterator over bytevector bytes.
:asList(self)Return bytevector bytes as a list of unsigned fixnums.
:asString(self)Return a string decoded from this bytevector.
:at:(self index)Return byte at index as an unsigned fixnum.
:at:put:(self index byte)Set byte at index and return byte as an unsigned fixnum.
:compareWith:(self other)Return -1, 0, or 1 when receiver is lexicographically less than, equal to, or greater than argument.
:from:to:(self from to)Return a bytevector slice using half-open byte indexes.
:hex(self)Return a lowercase hexadecimal string encoding the receiver bytes.
:length(self)Return bytevector length in bytes.
:splitLines(self)Return bytevector lines without line terminators.
:writeToFile:(self filename)Write bytevector to a file atomically and return filename.
Direct class methods
:fromFile:(self filename)Return file contents as a bytevector.
:random:(self length)Return a bytevector with cryptographically strong random bytes.
ByteVectorIterator
- Kind
- class
- Binding
- constant
Iterator over bytevector bytes.
Direct methods
:hasThis?(self)Return true when the iterator has a current byte.
:next!(self)Advance the iterator and return receiver.
:this(self)Return the current byte as an unsigned fixnum.
Direct class methods
None.
Character
- Kind
- class
- Binding
- constant
Unicode scalar character value.
Direct methods
:asString(self)Return receiver encoded as a one-character UTF-8 string.
:width(self)Return display width measured with wcwidth.
Direct class methods
None.
Class
- Kind
- class
- Binding
- constant
Runtime representation of classes and metaclasses.
Direct methods
:>>(self selector)Return direct method for selector or nil.
:addMethod:withSelector:(self method selector)Add direct method for selector.
:allMethodsAsList(self)Return most-specific direct and inherited method descriptors as a list.
:allMethodsDo:(self callable)Call callable for each most-specific method descriptor.
:allSelectors(self)Return direct and inherited method selectors.
:allSelectorsAsList(self)Return direct and inherited method selectors as a list.
:alloc(self)Allocate empty instance for allocatable class.
:documentation(self)Return class documentation.
:lookupSelector:(self selector)Return resolved method for selector or nil.
:methodsAsList(self)Return direct method descriptors as a list.
:methodsDo:(self callable)Call callable for each direct method descriptor.
:precedenceList(self)Return class precedence list.
:selectors(self)Return direct method selectors.
:selectorsAsList(self)Return direct method selectors as a list.
:slots(self)Return class slot names.
Direct class methods
None.
Closure
- Kind
- class
- Binding
- constant
Callable function object with captured environment.
Direct methods
:arguments(self)Return closure parameter list.
:documentation(self)Return closure documentation.
Direct class methods
None.
ComplexNumber
- Kind
- class
- Binding
- constant
Abstract root for complex numeric values.
Direct methods
:imaginary(self)Return receiver's imaginary component. Subclasses must implement this method.
:real(self)Return receiver's real component. Subclasses must implement this method.
Direct class methods
None.
CompoundForm
- Kind
- class
- Binding
- constant
Abstract root for compound syntactic and callable forms.
Direct methods
:arguments(self)Return compound form argument documentation. Subclasses must implement this method.
:documentation(self)Return compound form documentation. Subclasses must implement this method.
Direct class methods
None.
Condition
- Kind
- class
- Binding
- constant
Base class for signaled conditions.
Direct methods
None.
Direct class methods
None.
ConditionVariable
- Kind
- class
- Binding
- constant
Condition variable associated with a mutex while waiting.
Direct methods
:broadcast(self)Wake all threads waiting on condition variable and return receiver.
:name(self)Return condition variable name, or nil when it has none.
:signal(self)Wake one thread waiting on condition variable and return receiver.
:wait:(self mutex)Release mutex, wait for notification, reacquire mutex, and return receiver.
Direct class methods
:new(self)Return a new condition variable.
:new:(self name)Return a new named condition variable.
DateTime
- Kind
- class
- Binding
- constant
Calendar date and wall-clock time.
Direct methods
:asISO8601(self)Return receiver formatted as ISO8601 text. Subclasses must implement this method.
:asISO8601WithSeparator:(self separator)Return receiver formatted as ISO8601 text with separator. Subclasses must implement this method.
:asInstant(self)Return receiver converted to an Instant. Subclasses must implement this method.
:day(self)Return date-time day. Subclasses must implement this method.
:hour(self)Return date-time hour. Subclasses must implement this method.
:microsecond(self)Return date-time microsecond. Subclasses must implement this method.
:minute(self)Return date-time minute. Subclasses must implement this method.
:month(self)Return date-time month. Subclasses must implement this method.
:second(self)Return date-time second. Subclasses must implement this method.
:year(self)Return date-time year. Subclasses must implement this method.
Direct class methods
None.
Dictionary
- Kind
- class
- Binding
- constant
Mutable mapping from keys to values.
Direct methods
:at:put:(self key value)Set value for key and return value.
:remove:(self key)Remove key and return its value, or nil when key is absent.
Direct class methods
:new(self)Return a new empty dictionary.
:newFromAList:(self alist)Return a dictionary initialized from an association list.
DictionaryIterator
- Kind
- class
- Binding
- constant
Iterator over dictionary associations.
Direct methods
:hasThis?(self)Return true when the iterator has a current association.
:next!(self)Advance the iterator and return receiver.
:this(self)Return the current association.
Direct class methods
None.
DigestSHA256
- Kind
- class
- Binding
- constant
SHA-256 message digest.
Direct methods
:finish(self)Finish SHA-256 digest computation and return digest bytes.
:update:(self bytes)Update SHA-256 digest state with bytes and return receiver.
Direct class methods
:digest:(self bytes)Return SHA-256 digest of bytes as a bytevector.
:new(self)Return a new incremental SHA-256 message digest.
Duration
- Kind
- class
- Binding
- constant
Signed span of time.
Direct methods
:+(self duration-or-instant)Add a duration or advance an instant by receiver.
:-(self other)Return difference of receiver and another duration.
:addDuration:(self other)Return sum of receiver and another duration.
:asMicroseconds(self)Return receiver as microseconds.
:asSeconds(self)Return receiver as seconds.
:sleep(self)Sleep for receiver.
:substractDuration:(self other)Return difference of receiver and another duration.
Direct class methods
:fromMicroseconds:(self microseconds)Return a duration from microseconds.
:fromSeconds:(self seconds)Return a duration from seconds.
DynamicVariable
- Kind
- class
- Binding
- constant
Dynamically scoped variable binding.
Direct methods
:value(self)Return the current dynamic value or the default value.
:value:(self value)Set the current thread dynamic value.
Direct class methods
:new:(self defaultValue)Create a dynamic variable with default value.
EmptyIterator
- Kind
- class
- Binding
- constant
Singleton iterator with no current value.
Direct methods
:hasThis?(self)Return false.
:next!(self)Return receiver.
:this(self)Signal that an empty iterator has no current value.
Direct class methods
None.
Environment
- Kind
- class
- Binding
- constant
Mapping from names to values during evaluation.
Direct methods
:at:(self symbol)Return symbol value, or nil when symbol is unbound.
:at:put:(self symbol value)Bind symbol to value in this environment and return value.
:at:putConstant:(self symbol value)Bind symbol to a constant value in this environment and return value.
:bindingsAsList(self)Return direct binding reflections as a list.
:bindingsDo:(self callable)Call callable for each direct binding reflection.
:constant?:(self symbol)Return true when symbol resolves to a constant binding.
:contains?:(self symbol)Return true when symbol is bound in this environment or its parents.
Direct class methods
:new(self)Return a new empty environment.
:newBase(self)Return a new base environment.
:newWithParent:(self parent)Return a new environment with parent.
:sharedBase(self)Return the shared base environment.
Error
- Kind
- class
- Binding
- constant
Fatal condition reported to handlers.
Direct methods
None.
Direct class methods
None.
ExactComplexNumber
- Kind
- class
- Binding
- constant
Complex number with exact real and imaginary parts.
Direct methods
:imaginary(self)Return receiver's imaginary component.
:real(self)Return receiver's real component.
Direct class methods
None.
FileStream
- Kind
- class
- Binding
- constant
Stream backed by a file descriptor.
Direct methods
:close(self)Close stream.
:flush(self)Flush buffered stream data.
:isClosed(self)Return true when file stream is closed.
:isReadable(self)Return true when file stream supports reading.
:isWritable(self)Return true when file stream supports writing.
:readByte(self)Read one byte as an unsigned fixnum, or nil at EOF.
:readByteVector(self)Read remaining stream bytes into a bytevector.
:readBytes:(self length)Read up to length bytes.
:readLine(self)Read a line without its line terminator.
:readString(self)Read remaining stream bytes as UTF-8 text with normalized line endings.
:seek:(self offset)Seek from current stream position.
:seekFromEnd:(self offset)Seek from end of stream.
:seekFromStart:(self offset)Seek from start of stream.
:writeByte:(self byte)Write one byte.
:writeByteVector:(self bytevector)Write bytevector bytes.
:writeCharacter:(self character)Write one character as UTF-8.
:writeLn(self)Write a line feed byte.
:writeString:(self string)Write string UTF-8 bytes.
Direct class methods
:new:(self filename)Open a file stream.
:newForAppending:(self filename)Open a file stream.
:newForInput:(self filename)Open a file stream.
:newForOutput:(self filename)Open a file stream.
Float
- Kind
- class
- Binding
- constant
Inexact floating-point real number.
Direct methods
None.
Direct class methods
None.
Fraction
- Kind
- class
- Binding
- constant
Exact rational number with arbitrary-precision parts.
Direct methods
None.
Direct class methods
None.
Function
- Kind
- class
- Binding
- constant
Abstract root for callable functions.
Direct methods
:value(self)Call the function with no arguments.
:value:(self ListTalk-implementation:first)Call the function with one argument.
:value:value:(self ListTalk-implementation:first second)Call the function with two arguments.
:value:value:value:(self ListTalk-implementation:first second ListTalk-implementation:third)Call the function with three arguments.
:valueWithArguments:(self arguments)Call the function with an argument list.
:whileFalse(self)Call the receiver while it returns a falsey value.
:whileFalse:(self body)Call body while the receiver returns a falsey value.
:whileTrue(self)Call the receiver while it returns a truthy value.
:whileTrue:(self body)Call body while the receiver returns a truthy value.
Direct class methods
None.
IdentityDictionary
- Kind
- class
- Binding
- constant
Dictionary whose keys are compared by identity.
Direct methods
:asAList(self)Return dictionary entries as an association list.
:asIterator(self)Return an iterator over dictionary associations.
:at:(self key)Return value for key, or nil when key is absent.
:at:put:(self key value)Set value for key and return value.
:contains?:(self key)Return true when dictionary contains key.
:forEach:(self callable)Apply callable to each key and value, and return nil.
:map:(self callable)Return list of callable results for each key and value.
:remove:(self key)Remove key and return its value, or nil when key is absent.
:size(self)Return dictionary size.
Direct class methods
:new(self)Return a new empty identity dictionary.
:newFromAList:(self alist)Return an identity dictionary initialized from an association list.
IdentityDictionaryIterator
- Kind
- class
- Binding
- constant
Iterator over identity dictionary associations.
Direct methods
:hasThis?(self)Return true when the iterator has a current association.
:next!(self)Advance the iterator and return receiver.
:this(self)Return the current association.
Direct class methods
None.
IdentitySet
- Kind
- class
- Binding
- constant
Set of unique values compared by identity.
Direct methods
None.
Direct class methods
:fromList:(self list)Return an identity set containing the unique identities of list.
:new(self)Return a new empty identity set.
ImmutableDictionary
- Kind
- class
- Binding
- constant
Immutable mapping from keys to values.
Direct methods
:asAList(self)Return dictionary entries as an association list.
:asIterator(self)Return an iterator over dictionary associations.
:at:(self key)Return value for key, or nil when key is absent.
:contains?:(self key)Return true when dictionary contains key.
:forEach:(self callable)Apply callable to each key and value, and return nil.
:map:(self callable)Return list of callable results for each key and value.
:size(self)Return dictionary size.
Direct class methods
:new(self)Return a new empty immutable dictionary.
:newFromAList:(self alist)Return an immutable dictionary initialized from an association list.
ImmutableList
- Kind
- class
- Binding
- constant
Immutable linked list node.
Direct methods
:car(self)Return immutable list car.
:cdr(self)Return immutable list cdr.
Direct class methods
:fromList:(self list)Return an immutable list copy of list.
IncompleteInputSyntaxError
- Kind
- class
- Binding
- constant
Reader error for syntactically incomplete input.
Direct methods
None.
Direct class methods
None.
InexactComplexNumber
- Kind
- class
- Binding
- constant
Complex number with inexact real and imaginary parts.
Direct methods
:imaginary(self)Return receiver's imaginary component.
:real(self)Return receiver's real component.
Direct class methods
None.
Instant
- Kind
- class
- Binding
- constant
Absolute point in time.
Direct methods
:+(self duration)Return receiver advanced by duration.
:-(self duration-or-instant)Subtract a duration or return duration since another instant.
:afterDuration:(self duration)Return receiver advanced by duration.
:asMicroseconds(self)Return receiver as UTC microseconds since the Unix epoch.
:asSeconds(self)Return receiver as UTC seconds since the Unix epoch.
:beforeDuration:(self duration)Return receiver moved backward by duration.
:durationSince:(self other)Return duration from other instant to receiver.
:durationUntil:(self other)Return duration from receiver to other instant.
:sleepUntil(self)Sleep until receiver.
Direct class methods
:fromMicroseconds:(self microseconds)Return an instant from UTC microseconds since the Unix epoch.
:fromSeconds:(self seconds)Return an instant from UTC seconds since the Unix epoch.
:now(self)Return the current instant.
Integer
- Kind
- class
- Binding
- constant
Abstract root for exact integer values.
Direct methods
:timesDo:(self callable)Call callable with each integer index from zero up to receiver.
:toBytes(self)Return the shortest big-endian unsigned byte representation of receiver.
:toBytes:(self byte-count)Return a big-endian unsigned byte representation with byte-count bytes.
:toTwosComplement(self)Return the shortest big-endian two's-complement byte representation of receiver.
:toTwosComplement:(self byte-count)Return a big-endian two's-complement byte representation with byte-count bytes.
Direct class methods
:fromBytes:(self bytevector)Return an integer decoded from big-endian unsigned bytes.
:fromTwosComplement:(self bytevector)Return an integer decoded from big-endian two's-complement bytes.
InvocationContextKind
- Kind
- class
- Binding
- constant
Kind tag for invocation context records.
Direct methods
None.
Direct class methods
None.
Iterator
- Kind
- class
- Binding
- constant
Abstract root for mutable iterators.
Direct methods
:asList(self)Consume iterator and return remaining values as a list.
:hasThis?(self)Return true when the iterator has a current value. Subclasses must implement this method.
:next!(self)Advance the iterator. Subclasses must implement this method.
:this(self)Return the current value of the iterator. Subclasses must implement this method.
Direct class methods
None.
List
- Kind
- class
- Binding
- constant
Abstract root for linked list values.
Direct methods
:any:(self callable)Return true when callable returns truthy for any element.
:asIterator(self)Return an iterator over receiver.
:asList(self)Return receiver.
:at:(self index)Return list item at index.
:every:(self callable)Return true when callable returns truthy for every element.
:forEach:(self callable)Apply callable to each element and return nil.
:inject:into:(self initial callable)Fold list from the left with initial value and callable.
:length(self)Return list length.
:map:(self callable)Return list of callable results for each element.
:reduce:(self callable)Reduce list from the left with callable.
:sort(self)Return a fresh list sorted with element compareWith:.
:sortUsing:(self callable)Return a fresh list sorted with a two-argument comparator.
Direct class methods
None.
ListIterator
- Kind
- class
- Binding
- constant
Iterator over proper list elements.
Direct methods
:hasThis?(self)Return true when the iterator has a current value.
:next!(self)Advance the iterator and return receiver.
:this(self)Return the current value of the iterator.
Direct class methods
None.
Macro
- Kind
- class
- Binding
- constant
Source transformation invoked during evaluation.
Direct methods
:arguments(self)Return argument list of the macro callable.
:documentation(self)Return documentation of the macro callable.
Direct class methods
None.
MapIterator
- Kind
- class
- Binding
- constant
Lazy iterator mapping a callable over another iterator.
Direct methods
:hasThis?(self)Return true when the wrapped iterator has a current value.
:next!(self)Advance the wrapped iterator and return receiver.
:this(self)Return callable applied to wrapped iterator current value.
Direct class methods
:map:with:(self iterator callable)Return a lazy iterator mapping callable over iterator.
Message
- Kind
- class
- Binding
- constant
Object message selector and arguments.
Direct methods
:arguments(self)Return message arguments.
:receiver(self)Return message receiver.
:selector(self)Return message selector.
Direct class methods
None.
MessageDigest
- Kind
- class
- Binding
- constant
Abstract root for incremental message digests.
Direct methods
:finish(self)Finish digest computation and return digest bytes. Subclasses must implement this method.
:update:(self bytes)Update digest state with bytes and return receiver. Subclasses must implement this method.
Direct class methods
None.
MessageQueue
- Kind
- class
- Binding
- constant
Fixed-size blocking queue of object values.
Direct methods
:capacity(self)Return message queue capacity.
:empty?(self)Return true when queue contains no messages.
:full?(self)Return true when queue cannot accept another message without blocking.
:get(self)Get next value from queue, blocking while queue is empty.
:name(self)Return message queue name, or nil when it has none.
:put:(self value)Put value into queue, blocking while queue is full, and return receiver.
:size(self)Return number of messages currently in queue.
:tryGet(self)Try to get next value from queue, or nil when queue is empty.
:tryPut:(self value)Try to put value into queue and return whether it was enqueued.
Direct class methods
:new:(self capacity)Return a new message queue with fixed capacity.
:new:named:(self capacity name)Return a new named message queue with fixed capacity.
MethodDescriptor
- Kind
- class
- Binding
- constant
Immutable description of a class method.
Direct methods
:<(self ListTalk-implementation:other)Return true when receiver sorts before other by selector.
:<=(self ListTalk-implementation:other)Return true when receiver sorts before or equal to other by selector.
:>(self ListTalk-implementation:other)Return true when receiver sorts after other by selector.
:>=(self ListTalk-implementation:other)Return true when receiver sorts after or equal to other by selector.
:callable(self)Return method callable.
:compareWith:(self ListTalk-implementation:other)Compare method descriptors by selector.
:implementing-class(self)Return class that directly implements the method.
:selector(self)Return method selector.
Direct class methods
None.
MutablePair
- Kind
- class
- Binding
- constant
Mutable cons pair containing car and cdr.
Direct methods
:car:(self value)Set pair car.
:cdr:(self value)Set pair cdr.
Direct class methods
None.
Mutex
- Kind
- class
- Binding
- constant
Mutual exclusion lock.
Direct methods
:do:(self callable)Lock mutex, call callable, unlock mutex, and return callable result.
:lock(self)Lock mutex and return receiver.
:name(self)Return mutex name, or nil when it has none.
:tryLock(self)Try to lock mutex and return whether it was acquired.
:unlock(self)Unlock mutex and return receiver.
Direct class methods
:new(self)Return a new mutex.
:new:(self name)Return a new named mutex.
Nil
- Kind
- class
- Binding
- constant
The distinguished empty-list and falsey nil value.
Direct methods
:asIterator(self)Return the empty iterator singleton.
Direct class methods
None.
Number
- Kind
- class
- Binding
- constant
Abstract root for numeric values.
Direct methods
:*(self other)Return product of receiver and argument.
:+(self other)Return sum of receiver and argument.
:-(self other)Return difference of receiver and argument.
:/(self other)Return quotient of receiver divided by argument.
:<(self other)Return true when receiver is less than argument.
:<=(self other)Return true when receiver is less than or equal to argument.
:=(self other)Return true when receiver equals argument numerically.
:>(self other)Return true when receiver is greater than argument.
:>=(self other)Return true when receiver is greater than or equal to argument.
:abs(self)Return receiver's magnitude.
:asString(self)Return receiver formatted as a string.
:ceiling(self)Return least integer not less than receiver.
:compareWith:(self other)Return -1, 0, or 1 when receiver is less than, equal to, or greater than argument.
:cos(self)Return cosine of receiver.
:expt(self)Return e raised to receiver.
:expt:(self exponent)Return receiver raised to exponent.
:floor(self)Return greatest integer not greater than receiver.
:log(self)Return natural logarithm of receiver.
:max:(self other)Return larger of receiver and argument.
:min:(self other)Return smaller of receiver and argument.
:negative?(self)Return true when receiver is less than zero.
:phase(self)Return receiver's principal phase angle.
:positive?(self)Return true when receiver is greater than zero.
:round(self)Return nearest integer to receiver, rounding halfway values away from zero.
:sin(self)Return sine of receiver.
:sqrt(self)Return principal square root of receiver.
:tan(self)Return tangent of receiver.
:truncate(self)Return receiver truncated toward zero as an integer.
:zero?(self)Return true when receiver is numerically zero.
Direct class methods
None.
Object
- Kind
- class
- Binding
- constant
Root of the object hierarchy.
Direct methods
:=(self other)Return true when receiver and argument are structurally equal (equal?).
:==(self other)Return true when receiver and argument are identical (same object).
:asString(self)Return receiver debug-printed as a string.
:class(self)Return receiver class.
:doesNotUnderstand:(self message)Signal that the receiver does not understand message.
:slot:(self slot)Read receiver slot.
:slot:put:(self slot value)Write receiver slot.
:subclassResponsibility(self)Signal that the receiver's class must implement this method. Subclasses must implement this method.
Direct class methods
None.
Package
- Kind
- class
- Binding
- constant
Namespace for interned symbols.
Direct methods
:<(self other)Return true when receiver name is lexicographically less than argument name.
:<=(self other)Return true when receiver name is lexicographically less than or equal to argument name.
:>(self other)Return true when receiver name is lexicographically greater than argument name.
:>=(self other)Return true when receiver name is lexicographically greater than or equal to argument name.
:compareWith:(self other)Return -1, 0, or 1 when receiver name is lexicographically less than, equal to, or greater than argument name.
:name(self)Return package name.
:symbolsAsList(self)Return local interned symbols as a list.
:symbolsDo:(self callable)Call callable for each local interned symbol.
Direct class methods
:find:(self name)Return package with the provided name, or nil when no such package exists.
:named:(self name)Return package with the provided name, creating it when needed.
:packagesAsList(self)Return packages as a list.
:packagesDo:(self callable)Call callable for each package.
Pair
- Kind
- class
- Binding
- constant
Immutable cons pair containing car and cdr.
Direct methods
:car(self)Return pair car.
:cdr(self)Return pair cdr.
Direct class methods
None.
Primitive
- Kind
- class
- Binding
- constant
Callable function implemented in native code.
Direct methods
:arguments(self)Return primitive argument list, or the raw argument string if it cannot be read.
:documentation(self)Return primitive documentation.
Direct class methods
None.
Printer
- Kind
- class
- Binding
- constant
Renderer for printing ListTalk values.
Direct methods
None.
Direct class methods
None.
RandomNumberGenerator
- Kind
- class
- Binding
- constant
Abstract random number generator.
Direct methods
:bytes:(self length)Return a bytevector with length random bytes. Subclasses must implement this method.
:float(self)Return a random float greater than or equal to zero and less than one.
:integerBelow:(self bound)Return a random integer greater than or equal to zero and less than bound.
:integerFrom:to:(self from to)Return a random integer in the inclusive range from to to.
Direct class methods
None.
RationalNumber
- Kind
- class
- Binding
- constant
Abstract root for exact rational numbers.
Direct methods
None.
Direct class methods
None.
ReadWriteLock
- Kind
- class
- Binding
- constant
Lock permitting multiple readers or one writer.
Direct methods
:name(self)Return read-write lock name, or nil when it has none.
:readDo:(self callable)Acquire read access, call callable, release read access, and return callable result.
:readLock(self)Acquire read access and return receiver.
:readUnlock(self)Release read access and return receiver.
:tryReadLock(self)Try to acquire read access and return whether it was acquired.
:tryWriteLock(self)Try to acquire write access and return whether it was acquired.
:writeDo:(self callable)Acquire write access, call callable, release write access, and return callable result.
:writeLock(self)Acquire write access and return receiver.
:writeUnlock(self)Release write access and return receiver.
Direct class methods
:new(self)Return a new read-write lock.
:new:(self name)Return a new named read-write lock.
Reader
- Kind
- class
- Binding
- constant
Parser for ListTalk source forms.
Direct methods
None.
Direct class methods
None.
ReaderError
- Kind
- class
- Binding
- constant
Error signaled while reading source text.
Direct methods
None.
Direct class methods
None.
RealNumber
- Kind
- class
- Binding
- constant
Abstract root for real numeric values.
Direct methods
:asFloat(self)Return receiver converted to a float.
:from:to:withStep:do:(self from to step callable)Call callable with each value in the half-open range from to to stepping by step.
Direct class methods
None.
Restart
- Kind
- class
- Binding
- constant
Immutable description of a restart and its callable implementation.
Direct methods
:argument-list(self)Return restart argument list.
:callable(self)Return restart callable.
:description(self)Return restart description.
:name(self)Return restart name.
Direct class methods
:fromClosure:(self closure)Return restart described by closure metadata.
:named:fromClosure:(self name closure)Return named restart described by closure metadata.
Set
- Kind
- class
- Binding
- constant
Collection of unique values compared by equality.
Direct methods
:any:(self callable)Return true when callable returns truthy for any element.
:asIterator(self)Return an iterator over set elements.
:asList(self)Return set elements as a list.
:contains?:(self value)Return true when set contains value.
:every:(self callable)Return true when callable returns truthy for every element.
:forEach:(self callable)Apply callable to each element and return nil.
:inject:into:(self initial callable)Fold set with initial value and callable.
:put:(self value)Add value to set and return it.
:reduce:(self callable)Reduce set with callable.
Direct class methods
:fromList:(self list)Return a set containing the unique elements of list.
:new(self)Return a new empty set.
SetIterator
- Kind
- class
- Binding
- constant
Iterator over set elements.
Direct methods
:hasThis?(self)Return true when the iterator has a current set element.
:next!(self)Advance the iterator and return receiver.
:this(self)Return the current set element.
Direct class methods
None.
SmallFraction
- Kind
- class
- Binding
- constant
Compact exact rational number with small integer parts.
Direct methods
None.
Direct class methods
None.
SmallInteger
- Kind
- class
- Binding
- constant
Immediate exact integer value fitting in a machine word.
Direct methods
None.
Direct class methods
None.
SpecialForm
- Kind
- class
- Binding
- constant
Evaluator form with special argument rules.
Direct methods
:arguments(self)Return special form argument list, or the raw argument string if it cannot be read.
:documentation(self)Return special form documentation.
Direct class methods
None.
Stream
- Kind
- class
- Binding
- constant
Abstract input and output byte stream.
Direct methods
:close(self)Close stream. Subclasses must implement this method.
:flush(self)Flush buffered stream data. Subclasses must implement this method.
:isClosed(self)Return true when stream is closed.
:isReadable(self)Return true when stream supports reading.
:isWritable(self)Return true when stream supports writing.
:readByte(self)Read one byte as an unsigned fixnum, or nil at EOF. Subclasses must implement this method.
:readByteVector(self)Read remaining stream bytes into a bytevector. Subclasses must implement this method.
:readBytes:(self length)Read up to length bytes. Subclasses must implement this method.
:readLine(self)Read a line without its line terminator. Subclasses must implement this method.
:readString(self)Read remaining stream bytes as UTF-8 text with normalized line endings. Subclasses must implement this method.
:seek:(self offset)Seek from current stream position. Subclasses must implement this method.
:seekFromEnd:(self offset)Seek from end of stream. Subclasses must implement this method.
:seekFromStart:(self offset)Seek from start of stream. Subclasses must implement this method.
:writeByte:(self byte)Write one byte. Subclasses must implement this method.
:writeByteVector:(self bytevector)Write bytevector bytes. Subclasses must implement this method.
:writeCharacter:(self character)Write one character as UTF-8. Subclasses must implement this method.
:writeLn(self)Write a line feed byte. Subclasses must implement this method.
:writeString:(self string)Write string UTF-8 bytes. Subclasses must implement this method.
Direct class methods
None.
String
- Kind
- class
- Binding
- constant
Immutable UTF-8 text string.
Direct methods
:<(self other)Return true when receiver is lexicographically less than argument.
:<=(self other)Return true when receiver is lexicographically less than or equal to argument.
:>(self other)Return true when receiver is lexicographically greater than argument.
:>=(self other)Return true when receiver is lexicographically greater than or equal to argument.
:append:(self other)Return a new string with other appended.
:asByteVector(self)Return a bytevector containing string UTF-8 bytes.
:asHexByteVector(self)Return a bytevector decoded from this hexadecimal string.
:asIterator(self)Return an iterator over string characters.
:asList(self)Return string characters as a list.
:asString(self)Return receiver.
:at:(self index)Return Unicode character at index.
:compareWith:(self other)Return -1, 0, or 1 when receiver is lexicographically less than, equal to, or greater than argument.
:contains?:(self needle)Return true when string contains needle.
:decodeBase64(self)Return a bytevector decoded from this base64 string.
:decodeBase64IgnoringPadding:(self ignore_padding)Return a bytevector decoded from this base64 string, optionally accepting omitted padding.
:decodeBase64URI(self)Return a bytevector decoded from this URI-safe base64 string.
:decodeBase64URIIgnoringPadding:(self ignore_padding)Return a bytevector decoded from this URI-safe base64 string, optionally accepting omitted padding.
:find:(self needle)Return first codepoint index of needle, or nil when absent.
:findAll:(self needle)Return all codepoint indices where needle occurs.
:from:to:(self from to)Return a substring using half-open Unicode code point indexes.
:join:(self strings)Join a list of strings using self as the delimiter.
:length(self)Return string length in Unicode code points.
:mapCharacters:(self dictionary)Return a new string mapping characters through a dictionary.
:replace:with:(self needle replacement)Return a new string replacing all occurrences of needle with replacement.
:replaceFirst:with:(self needle replacement)Return a new string replacing the first occurrence of needle with replacement.
:splitLines(self)Return string lines without line terminators.
:splitOn:(self delimiters)Return substrings split on a delimiter character, delimiter string, or set of characters.
:splitOn:do:(self delimiters callable)Call callable for substrings split on a delimiter character, delimiter string, or set of characters.
:startsWith?:(self prefix)Return true when string starts with prefix.
:substringFrom:to:(self from to)Return a substring using half-open Unicode code point indexes.
:substrings(self)Return non-empty substrings split on whitespace.
:substrings:(self delimiter)Return substrings split on delimiter string, including empty substrings.
:substrings:do:(self delimiter callable)Call callable for each substring split on delimiter string.
:substringsDo:(self callable)Call callable for each non-empty substring split on whitespace.
:width(self)Return display width measured with wcswidth.
:writeToFile:(self filename)Write string to a file atomically and return filename.
Direct class methods
:fromFile:(self filename)Return file contents as a string.
StringIterator
- Kind
- class
- Binding
- constant
Iterator over string characters.
Direct methods
:hasThis?(self)Return true when the iterator has a current character.
:next!(self)Advance the iterator and return receiver.
:this(self)Return the current character.
Direct class methods
None.
SubclassResponsibilityError
- Kind
- class
- Binding
- constant
Error signaled when an abstract method is not overridden.
Direct methods
None.
Direct class methods
None.
Symbol
- Kind
- class
- Binding
- constant
Interned symbolic name.
Direct methods
:<(self other)Return true when receiver sorts before argument by package then local name.
:<=(self other)Return true when receiver sorts before or with argument by package then local name.
:>(self other)Return true when receiver sorts after argument by package then local name.
:>=(self other)Return true when receiver sorts after or with argument by package then local name.
:compareWith:(self other)Return -1, 0, or 1 when receiver sorts before, with, or after argument by package then local name.
:keyword?(self)Return true when symbol is in the keyword package.
:name(self)Return symbol name as string.
:nameStartsWith?:(self prefix)Return true when symbol name starts with prefix.
:package(self)Return symbol package, or nil for uninterned symbols.
Direct class methods
:gensym(self :optional name)Return a fresh gensym or named uninterned symbol.
:intern:in:(self name package)Return interned symbol with name in package.
:keyword:(self name)Return interned keyword symbol with name.
:uninterned:(self name)Return a fresh uninterned symbol with the provided name.
SystemError
- Kind
- class
- Binding
- constant
Error representing an operating system failure.
Direct methods
None.
Direct class methods
None.
Thread
- Kind
- class
- Binding
- constant
Thread executing a callable.
Direct methods
:detached?(self)Return true when thread is detached.
:finished?(self)Return true when thread has finished execution.
:join(self)Wait for thread completion and return its result.
:joined?(self)Return true when thread has been joined.
:makeDaemon(self)Detach thread so it does not need to be joined.
:makeDetached(self)Detach thread so it does not need to be joined.
:name(self)Return thread name, or nil when it has none.
:result(self)Return thread result, or raise error if thread has not finished.
Direct class methods
:current(self)Return the current thread.
:new:(self callable)Start callable in a new thread and return the thread.
:new:named:(self callable name)Start callable in a new named thread and return the thread.
UTCDateTime
- Kind
- class
- Binding
- constant
Calendar date and time in UTC.
Direct methods
:asISO8601(self)Return receiver formatted as ISO8601 UTC text.
:asISO8601WithSeparator:(self separator)Return receiver formatted as ISO8601 UTC text with separator.
:asInstant(self)Return receiver converted to an Instant.
:day(self)Return UTC date-time day.
:hour(self)Return UTC date-time hour.
:microsecond(self)Return UTC date-time microsecond.
:minute(self)Return UTC date-time minute.
:month(self)Return UTC date-time month.
:second(self)Return UTC date-time second.
:year(self)Return UTC date-time year.
Direct class methods
:fromISO8601:(self string)Return UTC date-time parsed from simple ISO8601 text.
:fromInstant:(self instant)Return UTC date-time representing instant.
:fromYear:month:day:hour:minute:second:microsecond:(self year month day hour minute second microsecond)Return UTC date-time from component fields.
UUID
- Kind
- class
- Binding
- constant
Immutable 128-bit universally unique identifier.
Direct methods
:asByteVector(self)Return receiver bytes as a bytevector.
:asString(self)Return receiver as a canonical lowercase UUID string.
:at:(self index)Return byte at zero-based index.
:compareWith:(self other)Return -1, 0, or 1 comparing UUID bytes lexicographically.
Direct class methods
:fromByteVector:(self bytevector)Return a UUID from a 16-byte bytevector.
:fromString:(self string)Return a UUID parsed from its canonical string representation.
:randomV4(self)Return a random RFC 4122 version 4 UUID.
Vector
- Kind
- class
- Binding
- constant
Mutable indexed sequence of object values.
Direct methods
:asIterator(self)Return an iterator over vector elements.
:asList(self)Return vector elements as a list.
:at:(self index)Return vector item at index.
:at:put:(self index value)Set vector item at index.
:length(self)Return vector length.
:sort(self)Return a fresh vector sorted with element compareWith:.
:sortUsing:(self callable)Return a fresh vector sorted with a two-argument comparator.
Direct class methods
None.
VectorIterator
- Kind
- class
- Binding
- constant
Iterator over vector elements.
Direct methods
:hasThis?(self)Return true when the iterator has a current value.
:next!(self)Advance the iterator and return receiver.
:this(self)Return the current value of the iterator.
Direct class methods
None.
Warning
- Kind
- class
- Binding
- constant
Non-fatal condition reported to handlers.
Direct methods
None.
Direct class methods
None.
WeakIdentitySet
- Kind
- class
- Binding
- constant
Identity set that does not keep members alive.
Direct methods
None.
Direct class methods
:fromList:(self list)Return a weak identity set containing the unique identities of list.
:new(self)Return a new empty weak identity set.
WeakKeyIdentityDictionary
- Kind
- class
- Binding
- constant
Identity dictionary that does not keep keys alive.
Direct methods
None.
Direct class methods
:new(self)Return a new empty weak-key identity dictionary.
:newFromAList:(self alist)Return a weak-key identity dictionary initialized from an association list.
WeakReference
- Kind
- class
- Binding
- constant
Reference that does not keep its target alive.
Direct methods
:alive?(self)Return true when referenced value is still alive.
:value(self)Return referenced value or signal an error if it is no longer alive.
:value:(self value)Set referenced value.
Direct class methods
:new:(self value)Create a weak reference to value.
WeakValueIdentityDictionary
- Kind
- class
- Binding
- constant
Identity dictionary that does not keep values alive.
Direct methods
None.
Direct class methods
:new(self)Return a new empty weak-value identity dictionary.
:newFromAList:(self alist)Return a weak-value identity dictionary initialized from an association list.
XoshiroRNG
- Kind
- class
- Binding
- constant
xoshiro256** random number generator.
Direct methods
:bytes:(self length)Return a bytevector with length random bytes.
Direct class methods
:fromByteVector:(self state)Return a xoshiro256** random number generator initialized from 32 state bytes.
:random(self)Return a xoshiro256** random number generator initialized from system entropy.
:seed:(self seed)Return a xoshiro256** random number generator initialized from seed.
abs
- Kind
- primitive
- Binding
- constant
- Lambda list
(x)
Return magnitude of a number.
alist->plist
- Kind
- primitive
- Binding
- constant
- Lambda list
(alist)
Return property list converted from association list.
and
- Kind
- special form
- Binding
- constant
- Lambda list
(:rest expression)
Evaluate expressions until one is falsey, else return last value.
any
- Kind
- primitive
- Binding
- constant
- Lambda list
(callable list :rest list)
Return true when callable returns truthy for any element tuple.
append
- Kind
- primitive
- Binding
- constant
- Lambda list
(:rest list)
Concatenate lists, sharing the final argument tail.
apply
- Kind
- primitive
- Binding
- constant
- Lambda list
(callable arguments)
Apply callable to argument list.
assoc
- Kind
- primitive
- Binding
- constant
- Lambda list
(key alist)
Return matching pair in alist by structural equality, else false.
assq
- Kind
- primitive
- Binding
- constant
- Lambda list
(key alist)
Return matching pair in alist by identity equality, else false.
assv
- Kind
- primitive
- Binding
- constant
- Lambda list
(key alist)
Return matching pair in alist by eqv? semantics, else false.
begin
- Kind
- special form
- Binding
- constant
- Lambda list
(:rest body)
Evaluate body forms in order in the current environment.
boolean?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a boolean.
bytevector
- Kind
- primitive
- Binding
- constant
- Lambda list
(:rest byte)
Create bytevector from unsigned byte fixnums.
bytevector->string
- Kind
- primitive
- Binding
- constant
- Lambda list
(bytevector)
Return a string decoded from bytevector bytes.
bytevector-append
- Kind
- primitive
- Binding
- constant
- Lambda list
(:rest bytevector)
Concatenate all bytevector arguments.
bytevector-copy
- Kind
- primitive
- Binding
- constant
- Lambda list
(bytevector :optional from to)
Return a bytevector slice using half-open byte indexes.
bytevector-length
- Kind
- primitive
- Binding
- constant
- Lambda list
(bytevector)
Return bytevector length in bytes as fixnum.
bytevector-u8-ref
- Kind
- primitive
- Binding
- constant
- Lambda list
(bytevector index)
Return byte at index as an unsigned fixnum.
bytevector-u8-set!
- Kind
- primitive
- Binding
- constant
- Lambda list
(bytevector index byte)
Set byte at index and return byte as an unsigned fixnum.
bytevector?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a bytevector.
caaaar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
caaadr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
caaar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
caadar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
caaddr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
caadr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
caar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cadaar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cadadr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cadar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
caddar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cadddr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
caddr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cadr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
car
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return the car of pair.
catch
- Kind
- special form
- Binding
- constant
- Lambda list
(tag-expression :rest body)
Evaluate body and intercept throws matching tag.
cdaaar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cdaadr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cdaar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cdadar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cdaddr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cdadr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cdar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cddaar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cddadr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cddar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cdddar
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cddddr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cdddr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cddr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return pair navigation primitive result.
cdr
- Kind
- primitive
- Binding
- constant
- Lambda list
(pair)
Return the cdr of pair.
ceiling
- Kind
- primitive
- Binding
- constant
- Lambda list
(x)
Return least integer not less than a real number.
character?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a character.
class-slots
- Kind
- primitive
- Binding
- constant
- Lambda list
(class)
Return list of slot names for class.
class?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a class object.
closure?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a closure.
complex?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a complex number.
cond
- Kind
- special form
- Binding
- constant
- Lambda list
(:rest (test :rest body))
Evaluate the body of the first clause with a truthy test.
cons
- Kind
- primitive
- Binding
- constant
- Lambda list
(car cdr)
Construct a pair from car and cdr.
cos
- Kind
- primitive
- Binding
- constant
- Lambda list
(x)
Return cosine of a real number.
current-restarts
- Kind
- primitive
- Binding
- constant
Return currently active restarts.
define
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:target . body)
Define a value, function, or dynamic variable.
define-class
- Kind
- macro
- Binding
- constant
- Lambda list
(name ListTalk-implementation:superclasses ListTalk-implementation:slot-names)
Define a class with superclasses and slot names.
define-condition-variable
- Kind
- macro
- Binding
- constant
- Lambda list
(name)
Define a condition variable with the given name.
define-constant
- Kind
- macro
- Binding
- mutable
- Lambda list
(ListTalk-implementation:target . body)
Define a constant value or function.
define-constructor
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:signature . body)
Define a class-side constructor and matching instance initializer.
define-macro
- Kind
- macro
- Binding
- mutable
- Lambda list
(ListTalk-implementation:target . body)
Define a macro from a signature or macro object.
define-message-queue
- Kind
- macro
- Binding
- constant
- Lambda list
(name ListTalk-implementation:capacity)
Define a message queue with the given name.
define-method
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:signature . body)
Define a method on a class for a selector.
define-mutex
- Kind
- macro
- Binding
- constant
- Lambda list
(name)
Define a mutex with the given name.
define-package
- Kind
- primitive
- Binding
- constant
- Lambda list
(package-designator :rest (:either used-package (used-package nickname)))
Define package and optionally add used packages.
define-rwlock
- Kind
- macro
- Binding
- constant
- Lambda list
(name)
Define a read-write lock with the given name.
display
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Print value and newline to standard output, then return it.
dynamic-let
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:bindings . body)
Temporarily bind dynamic variables during body.
environment?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is an environment.
eq?
- Kind
- primitive
- Binding
- constant
- Lambda list
(left :rest right)
Return true when all arguments are the same value identity.
equal?
- Kind
- primitive
- Binding
- constant
- Lambda list
(left :rest right)
Return true when all arguments are structurally equal.
eqv?
- Kind
- primitive
- Binding
- constant
- Lambda list
(left :rest right)
Return true when all arguments are numerically equivalent or identical.
error
- Kind
- primitive
- Binding
- constant
- Lambda list
(message)
Signal error condition and abort unless intercepted.
eval
- Kind
- primitive
- Binding
- constant
- Lambda list
(form environment)
Evaluate form using environment object.
every
- Kind
- primitive
- Binding
- constant
- Lambda list
(callable list :rest list)
Return true when callable returns truthy for every element tuple.
expt
- Kind
- primitive
- Binding
- constant
- Lambda list
(:optional base exponent)
Raise base to exponent, treat one argument as e^x, and return e with no arguments.
find-restart
- Kind
- primitive
- Binding
- constant
- Lambda list
(name)
Return active restart with eq name or nil.
floor
- Kind
- primitive
- Binding
- constant
- Lambda list
(x)
Return greatest integer not greater than a real number.
fold-expression
- Kind
- primitive
- Binding
- constant
- Lambda list
(form environment)
Fold form with lexical constants from environment object.
fold-left
- Kind
- primitive
- Binding
- constant
- Lambda list
(callable initial list :rest list)
Fold callable from the left across element tuples, stopping at shortest list.
fold-right
- Kind
- primitive
- Binding
- constant
- Lambda list
(callable initial list :rest list)
Fold callable from the right across element tuples, stopping at shortest list.
for-each
- Kind
- primitive
- Binding
- constant
- Lambda list
(callable list :rest list)
Apply callable for each element tuple, stopping at shortest list.
format
- Kind
- primitive
- Binding
- constant
- Lambda list
(format-string :rest argument)
Return a formatted string using SRFI-28-style directives.
function?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a function.
gensym
- Kind
- primitive
- Binding
- constant
- Lambda list
(:optional name)
Return a fresh gensym or named uninterned symbol.
get-current-environment
- Kind
- special form
- Binding
- constant
Return current lexical environment.
handler-bind
- Kind
- special form
- Binding
- constant
- Lambda list
(handler-expression :rest body)
Bind condition handler during dynamic extent of body.
if
- Kind
- special form
- Binding
- constant
- Lambda list
(condition then :optional else)
Evaluate then or else based on condition.
in-package
- Kind
- primitive
- Binding
- constant
- Lambda list
(package-designator)
Set current package for symbol interning.
integer?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is an integer.
invoke-restart
- Kind
- primitive
- Binding
- constant
- Lambda list
(name :rest arguments)
Invoke active restart with eq name.
keyword?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a symbol in the keyword package.
lambda
- Kind
- macro
- Binding
- constant
- Lambda list
(parameters . body)
Construct an anonymous closure.
length
- Kind
- primitive
- Binding
- constant
- Lambda list
(list)
Return the length of a proper list.
let
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:bindings-or-name . body)
Evaluate body with lexical bindings, or create and call a named local function.
let*
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:bindings . body)
Evaluate body with sequential lexical bindings.
letrec
- Kind
- special form
- Binding
- constant
- Lambda list
((:rest (symbol value-expression)) :rest body)
Evaluate body in lexical scope with mutually recursive bindings.
list
- Kind
- primitive
- Binding
- constant
- Lambda list
(:rest value)
Return a list containing all arguments.
list->string
- Kind
- primitive
- Binding
- constant
- Lambda list
(characters)
Construct a string from a proper list of characters.
list->vector
- Kind
- primitive
- Binding
- constant
- Lambda list
(list)
Return a vector containing the elements of a proper list.
list-ref
- Kind
- primitive
- Binding
- constant
- Lambda list
(list index)
Return list item at index.
list?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a proper list.
load!
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:module . ListTalk-implementation:resolvers)
Load module using optional resolver paths before configured resolvers.
log
- Kind
- primitive
- Binding
- constant
- Lambda list
(x)
Return natural logarithm of a real number.
macro
- Kind
- special form
- Binding
- constant
- Lambda list
(callable-expression)
Wrap primitive or closure as macro.
macro?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a macro.
macroexpand
- Kind
- primitive
- Binding
- constant
- Lambda list
(form environment)
Expand macros in form using environment object.
make-bytevector
- Kind
- primitive
- Binding
- constant
- Lambda list
(length :optional fill)
Create a bytevector with optional byte fill.
make-class
- Kind
- primitive
- Binding
- constant
- Lambda list
(name superclasses slot-names)
Create class with name, superclasses list, and slot-name list.
make-instance
- Kind
- primitive
- Binding
- constant
- Lambda list
(class)
Allocate empty instance for allocatable class.
make-vector
- Kind
- primitive
- Binding
- constant
- Lambda list
(length :optional fill)
Create vector with optional fill value.
map
- Kind
- primitive
- Binding
- constant
- Lambda list
(callable list :rest list)
Return list of callable results for each element tuple, stopping at shortest list.
max
- Kind
- primitive
- Binding
- constant
- Lambda list
(n :rest n)
Return largest real numeric argument.
memq
- Kind
- primitive
- Binding
- constant
- Lambda list
(value list)
Return list tail whose car is value by identity, else false.
min
- Kind
- primitive
- Binding
- constant
- Lambda list
(n :rest n)
Return smallest real numeric argument.
negative?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is less than zero.
not
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is falsey (nil or #false).
null?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is nil.
number->string
- Kind
- primitive
- Binding
- constant
- Lambda list
(number)
Return the string representation of a number.
number?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a number.
or
- Kind
- special form
- Binding
- constant
- Lambda list
(:rest expression)
Evaluate expressions until one is truthy, else return last value.
pair?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a pair.
phase
- Kind
- primitive
- Binding
- constant
- Lambda list
(x)
Return principal phase angle of a number.
plist->alist
- Kind
- primitive
- Binding
- constant
- Lambda list
(plist)
Return association list converted from property list.
positive?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is greater than zero.
primitive?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a primitive function.
provide
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:module)
Record module as provided and return its name.
quasiquote
- Kind
- special form
- Binding
- constant
- Lambda list
(value)
Evaluate quasiquote template.
quote
- Kind
- special form
- Binding
- constant
- Lambda list
(value)
Return value without evaluation.
rational?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a rational number.
read
- Kind
- primitive
- Binding
- constant
Read one line from standard input and return it as a string.
read-file-as-data
- Kind
- primitive
- Binding
- constant
- Lambda list
(path)
Read all s-expressions from path as data.
read-string-as-data
- Kind
- primitive
- Binding
- constant
- Lambda list
(source)
Read all s-expressions from source string as data.
real?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a real number.
reduce-left
- Kind
- primitive
- Binding
- constant
- Lambda list
(callable list :rest list)
Reduce callable from the left across element tuples, stopping at shortest list.
reduce-right
- Kind
- primitive
- Binding
- constant
- Lambda list
(callable list :rest list)
Reduce callable from the right across element tuples, stopping at shortest list.
require
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:module . ListTalk-implementation:resolvers)
Load module unless already provided.
restart-bind
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:clause . body)
Bind one restart during body.
reverse
- Kind
- primitive
- Binding
- constant
- Lambda list
(list)
Return a fresh list containing list items in reverse order.
round
- Kind
- primitive
- Binding
- constant
- Lambda list
(x)
Return nearest integer to a real number, rounding halfway values away from zero.
send
- Kind
- macro
- Binding
- constant
- Lambda list
(receiver selector . arguments)
Send selector to receiver, handling super sends specially.
set!
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:target value)
Set a lexical variable, self slot, or dynamic variable.
sin
- Kind
- primitive
- Binding
- constant
- Lambda list
(x)
Return sine of a real number.
sleep
- Kind
- primitive
- Binding
- constant
- Lambda list
(seconds)
Sleep for seconds.
slot-ref
- Kind
- primitive
- Binding
- constant
- Lambda list
(object slot)
Read object slot value by symbol name.
slot-set!
- Kind
- primitive
- Binding
- constant
- Lambda list
(object slot value)
Set object slot value by symbol name.
special-form?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a special form.
sqrt
- Kind
- primitive
- Binding
- constant
- Lambda list
(x)
Return principal square root of a number.
string->bytevector
- Kind
- primitive
- Binding
- constant
- Lambda list
(string)
Return a bytevector containing string UTF-8 bytes.
string->list
- Kind
- primitive
- Binding
- constant
- Lambda list
(string)
Return a list of characters in string order.
string-append
- Kind
- primitive
- Binding
- constant
- Lambda list
(:rest string)
Concatenate all string arguments.
string-join
- Kind
- primitive
- Binding
- constant
- Lambda list
(delimiter strings)
Join a list of strings with delimiter.
string-length
- Kind
- primitive
- Binding
- constant
- Lambda list
(string)
Return string length in Unicode code points as fixnum.
string-ref
- Kind
- primitive
- Binding
- constant
- Lambda list
(string index)
Return Unicode character at index.
string?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a string.
substring
- Kind
- primitive
- Binding
- constant
- Lambda list
(string from to)
Return a substring using half-open Unicode code point indexes.
symbol-name
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return symbol name as string.
symbol?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a symbol.
tan
- Kind
- primitive
- Binding
- constant
- Lambda list
(x)
Return tangent of a real number.
throw
- Kind
- special form
- Binding
- constant
- Lambda list
(tag-expression value-expression)
Throw value to nearest enclosing catch with matching tag.
truncate
- Kind
- primitive
- Binding
- constant
- Lambda list
(x)
Return a real number truncated toward zero as an integer.
type-of
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return class descriptor of value.
unless
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:condition . body)
Evaluate body when condition is falsey.
unwind-protect
- Kind
- special form
- Binding
- constant
- Lambda list
(protected-expression :rest cleanup)
Always run cleanup forms; rethrow non-local exits.
use-package
- Kind
- primitive
- Binding
- constant
- Lambda list
(used-package-designator :optional nickname-designator)
Use package in current package, optionally by nickname only.
vector
- Kind
- primitive
- Binding
- constant
- Lambda list
(:rest value)
Create vector from argument values.
vector->list
- Kind
- primitive
- Binding
- constant
- Lambda list
(vector)
Return a list containing the elements of vector.
vector-length
- Kind
- primitive
- Binding
- constant
- Lambda list
(vector)
Return vector length as fixnum.
vector-ref
- Kind
- primitive
- Binding
- constant
- Lambda list
(vector index)
Return value at index.
vector-set!
- Kind
- primitive
- Binding
- constant
- Lambda list
(vector index value)
Set vector element and return value.
vector?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is a vector.
when
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:condition . body)
Evaluate body when condition is truthy.
while
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:condition . body)
Evaluate body while condition is truthy, with break and continue in scope.
with-gensyms
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:symbols . body)
Evaluate body with symbols bound to fresh generated symbols.
with-mutex
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:mutex . body)
Evaluate body with mutex locked, unlocking on exit.
with-read-lock
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:rwlock . body)
Evaluate body with read lock held, unlocking on exit.
with-write-lock
- Kind
- macro
- Binding
- constant
- Lambda list
(ListTalk-implementation:rwlock . body)
Evaluate body with write lock held, unlocking on exit.
zero?
- Kind
- primitive
- Binding
- constant
- Lambda list
(value)
Return true when value is numerically zero.
λ
- Kind
- macro
- Binding
- constant
- Lambda list
(parameters . body)
Construct an anonymous closure.
ListTalk-implementation:%closure
- Kind
- macro
- Binding
- constant
- Lambda list
ListTalk-implementation:forms
Construct an anonymous closure from curly-brace reader syntax.
ListTalk-implementation:%define
- Kind
- special form
- Binding
- constant
- Lambda list
(symbol value-expression)
Create mutable binding in current environment.
ListTalk-implementation:%define-constant
- Kind
- special form
- Binding
- constant
- Lambda list
(symbol value-expression)
Create constant binding in current environment.
ListTalk-implementation:%dynamic-ref
- Kind
- primitive
- Binding
- constant
- Lambda list
(dynamic-variable)
Return the current value of a dynamic variable.
ListTalk-implementation:%lambda
- Kind
- special form
- Binding
- constant
- Lambda list
(name (:rest arg) :rest body)
Create closure with lexical scope.
ListTalk-implementation:%let
- Kind
- special form
- Binding
- constant
- Lambda list
((:rest (symbol value-expression)) :rest body)
Evaluate body in lexical scope with local bindings.
ListTalk-implementation:%load!
- Kind
- primitive
- Binding
- constant
- Lambda list
(environment module-designator resolvers)
Load module source from resolver list into environment.
ListTalk-implementation:%require
- Kind
- primitive
- Binding
- constant
- Lambda list
(environment module-designator resolvers)
Load module source from resolver list into environment unless already provided.
ListTalk-implementation:%restart-bind
- Kind
- special form
- Binding
- constant
- Lambda list
(restart-expression :rest body)
Bind restart during dynamic extent of body.
ListTalk-implementation:%send
- Kind
- special form
- Binding
- constant
- Lambda list
(receiver selector :rest argument)
Evaluate and send selector to receiver.
ListTalk-implementation:%set!
- Kind
- special form
- Binding
- constant
- Lambda list
(symbol value-expression)
Update existing mutable binding.
ListTalk-implementation:%super-send
- Kind
- special form
- Binding
- constant
- Lambda list
(receiver selector :rest argument)
Evaluate and send selector using send invocation context.
ListTalk-implementation:%while
- Kind
- special form
- Binding
- constant
- Lambda list
(condition :rest body)
Evaluate body while condition is truthy.