T

The T Manual Fourth Edition
(10 September 1988)

http://repository.readscheme.org/ftp/papers/t_manual.pdf


Literals

quote

Procedures

lambda

Object identity

eq?, neq??

Symbols

symbol?

Predicates and truth values

nil, t

Types


Environments

Local variables

let, let*, labels

Locales

locale?, declare, define, lset?, make-locale?, make-empty-locale?, locale??

Non-local reference

*value?, *define?, *lset?, import


Control

Conditionals

cond, xcond?, else?, if, case, xcase?, select, xselect?, not, false??, and, or, *and?, *or?, *if?

Iteration

do, iterate

Procedure application

procedure?, apply

Sequencing

block, block0?

Non-local exits

catch

Lazy evaluation

delay, force

Side effects

Assignment

set, setter, swap?, exchange?, modify?, modify-location?

Locatives

locative?, contents?, locative??

Dynamic state

bind?, unwind-protect


Operations

Fundamental forms

object?, operation?, operation??

Defining operations

define-operation?, define-settable-operation?, define-predicate?

Joined objects

join?

Synonyms

synonym?


Numbers

Predicates

number?, rational?, integer?, float??, ratio??, odd?, even?

Arithmetic

+, add?, -, *, quotient, remainder, mod, expt, abs, gcd, add1, 1+, -1+, min, max, truncate

Comparison

=, equal?, <, less??, >, greater??, n=?, >=, not-less??, <=, not-greater??

Sign predicates

zero?, =0??, negative?, <0??, positive?, >0??, not-zero??, n=0??, not-negative??, >=0??, not-positive??, <=0??

Transcendental functions

exp, log, sqrt, cos, sin, tan, acos, asin, atan2?

Bitwise logical operators

logand, logior, logxor, lognot, ash, bit-field, set-bit-field?

Coercion

->integer, ->float?

Assignment

increment?, decrement?


Lists

Predicates

null?, pair?, atom?, list?, proper-list?, null-list?

Constructors

cons, list, cons*, copy-list?

List access

car, cdr, nth?, nthcdr?, last, lastcdr?

Lists as sequences

length, append, append!, reverse, reverse!, sublist?

Lists as sets

memq??, mem??, any??, every??, delq?, del?, delq!?, del!?

Mapping Procedures

map, mapcdr?, map!, walk?, walkcdr?

Lists as associations

assq, ass?

Lists as stacks

push?, pop?


Trees

Comparison

equiv??, alike??, alikeq??, alikev??

Tree utilities

subst, substq, substv, copy-tree, tree-hash?

Destructuring

destructure?, destructure*?


Structures

Defining structure types

define-structure-type?

Manipulating structure types

make-stype?, stype-id?, stype-constructor?, stype-master?, stype-predicator?, stype-selector?, stype-selectors?, selector-id?, stype-handler?

Manipulating structures

structure??, copy-structure?, copy-structure!?


Characters and strings

Predicates

char?, string?, graphic??, whitespace??, alphabetic??, uppercase??, lowercase??, digit??

Comparison

char=?, char<?, char>?, charn=?, char>=?, char<=?, string-equal??

String constructors

make-string, string-append, copy-string?, char->string?, list->string, string->list

String access

string-length, string-empty??, string-elt?, nthchar?, string-head?, char?, string-tail?, chdr?, string-nthtail?, nthchdr?, substring, string-slice?

String manipulation

string-posq?, string-replace, map-string?, map-string!?, walk-string?

String header manipulation

chopy?, chopy!?, string-tail!?, chdr!?, string-nthtail!?, nthchdr!?

Case conversion

char-upcase, char-downcase, string-upcase, string-downcase, string-upcase!, string-downcase!

Digit conversion

char->digit?, digit->char?, digit?

ASCII conversion

char->ascii, ascii->char, number-of-char-codes?

Symbols

string->symbol, symbol->string


Miscellaneous features

Comments and declarations

comment?, ignore?, ignorable?

Errors and dead ends

error, syntax-error, read-error?, check-arg?, proclaim?, assert, undefined-value?, undefined-effect?

Early binding

define-constant, define-integrable

Symbol generators

generate-symbol?, concatenate-symbol?

Combinators

always?, identity, projn?, proj0?, proj1?, proj2?, proj3?, conjoin?, disjoin?, complement, compose, true?, false?, true??, boolean?

Vectors

make-vector, list->vector, vector->list, vector-elt?, vref?, vset?, copy-vector, vector-fill?, vector-replace?, vector-length, vector-pos?, vector-posq?, walk-vector?

Pools

make-pool?, obtain-from-pool?, return-to-pool?

Weak pointers

object-hash, object-unhash, make-weak-set?, add-to-weak-set?, remove-from-weak-set?, weak-set->list?, walk-weak-set?, weak-set-member??, weak-set-empty??


Syntax

The reader

read-object?

Read tables and read macros

standard-read-table?, vanilla-read-table?, read-table-entry?, nothing-read?, delimiting-read-macro??, make-list-reader?, list-terminator?

Standard compiler

eval, standard-compiler?, run-compiled-code?

Syntax tables

env-syntax-table?, make-syntax-table?, standard-syntax-table?, syntax-table-entry?

Defining syntax

define-syntax

Local syntax

let-syntax, define-local-syntax?

Macro expanders

macro-expander?, macro-expander??, invoke-macro-expander?, macro-expand


Ports

General

port?, input-port?, output-port?, interactive-port?, eof??, eof?, with-open-streams?, close, string->input-port?, with-input-from-string, with-output-to-string

Port switches

terminal-input?, terminal-output?, standard-input?, standard-output?, error-output?, debug-output?

Input

read-char, readc?, unread-char, unreadc?, peek-char, peekc?, read-line, read, read-refusing-eof?, read-objects-from-string?, clear-input?

Output

print, write, write-char, writec?, write-string, writes?, write-line, write-spaces?, display, pretty-print, newline, fresh-line, space?, force-output

Formatted output

format

Miscellaneous

port-read-table?, line-length?, hpos?, vpos?, with-output-width-stream?, printwidth?, displaywidth?, make-broadcast-port?


Files

File systems

local-fs?, aegis-fs??, unix-fs??, vms-fs??

Filenames

make-filename?, ->filename?, filename??, filename-fs?, filename-dir?, filename-name?, filename-type?, filename-generation?, filename->string?

Files

maybe-open?, port-name, file-exists?, file-move?, file-delete?


Program structure

Environment structure

standard-env?, user-env?

File syntax

herald?, read-table?, syntax-table?, env?

Loading files

load

File compilation

comfile?, tc-syntax-table?, tc-macro-definition-env?


User interface

Invoking Tau

stop?, exit, command-line

Read-eval-print loops

##, ++?, repl-env?

Command levels

reset, ret?, breakpoint?

Transcripts

transcript-on, transcript-off

Customization

repl-read?, repl-eval?, repl-print?, repl-prompt?, load-noisily??, repl-wont-print??, repl-wont-print?


Debugging

Debugging utilities

trace, untrace, pp, backtrace?

The inspector

debug, crawl?

Debugging primitives

where-defined?, identification?, argspectrum?, disclose?, get-environment?, structure-type?, walk-symbols?

Miscellaneous

enforce?, t-version-number?, t-implementation-env?, tc-env?, gc, gc-stats, gc-noisily??