This is the mtlisp Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:07:19 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
mtlisp
MT’s Common Lisp utilities.
Mike Travers <mt@hyperphor.com>
Lesser Lisp General Public License
0.1
acl-compat
(system).
lisp-unit.lisp
(file).
mt-pkg.lisp
(file).
pre-utils.lisp
(file).
mt-utils.lisp
(file).
closstar.lisp
(file).
clos-dumper.lisp
(file).
ctrace.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
mtlisp/mtlisp.asd
mtlisp/lisp-unit.lisp
mtlisp/mt-pkg.lisp
mtlisp/pre-utils.lisp
mtlisp/mt-utils.lisp
mtlisp/closstar.lisp
mtlisp/clos-dumper.lisp
mtlisp/ctrace.lisp
mtlisp/lisp-unit.lisp
mtlisp
(system).
assert-eq
(macro).
assert-eql
(macro).
assert-equal
(macro).
assert-equality
(macro).
assert-equalp
(macro).
assert-error
(macro).
assert-expands
(macro).
assert-false
(macro).
assert-prints
(macro).
assert-runs
(macro).
assert-true
(macro).
define-test
(macro).
get-test-code
(function).
get-tests
(function).
logically-equal
(function).
remove-all-tests
(function).
remove-tests
(function).
run-all-tests
(macro).
run-tests
(macro).
set-equal
(function).
use-debugger
(function).
*assertion*
(special variable).
*assertion-counter*
(special variable).
*assertion-passed*
(special variable).
*collection*
(special variable).
*error*
(special variable).
*error-count*
(special variable).
*fail*
(special variable).
*fail-count*
(special variable).
*pass-count*
(special variable).
*succeed*
(special variable).
*test*
(special variable).
*test-count*
(special variable).
*test-name*
(special variable).
*test-package*
(special variable).
*test-runner*
(special variable).
*tests*
(special variable).
*use-debugger*
(special variable).
collect
(macro).
collect-form-values
(function).
collecting
(macro).
expand-assert
(function).
expand-error-form
(function).
expand-extras
(function).
expand-macro-form
(function).
expand-output-form
(function).
failure-message
(method).
get-failure-message
(function).
get-package-table
(function).
get-test-name
(function).
get-test-thunk-n
(function).
handle-error
(method).
handle-error
(method).
internal-assert
(function).
junit-test-runner
(class).
record-result-n
(method).
record-result-n
(method).
record-test
(method).
run
(method).
run
(method).
run-test
(method).
run-test
(method).
run-test-suite
(method).
run-test-suite
(method).
s
(function).
show-failure
(function).
show-failure-to-string
(function).
show-summary
(function).
store-test-code
(function).
test-passed-p
(function).
test-runner
(class).
use-debugger-p
(function).
with-output-to-junit
(macro).
mtlisp/mt-pkg.lisp
lisp-unit.lisp
(file).
mtlisp
(system).
mt
.
mtlisp/pre-utils.lisp
mt-pkg.lisp
(file).
mtlisp
(system).
doc
(macro).
one-string
(macro).
mtlisp/mt-utils.lisp
pre-utils.lisp
(file).
mtlisp
(system).
*&
(macro).
*whitespace*
(special variable).
+&
(macro).
-&
(macro).
/&
(macro).
1+&
(macro).
1-&
(macro).
2pi
(constant).
<&
(macro).
<=&
(macro).
=&
(macro).
>&
(macro).
>=&
(macro).
^
(macro).
aand
(macro).
abs-max
(function).
absmin
(function).
acond
(macro).
add-nickname
(function).
aif
(macro).
alambda
(macro).
arand
(function).
aref&
(macro).
assocadr
(macro).
assocdr
(macro).
average
(function).
awhen
(macro).
break-list
(function).
car&
(function).
cdr&
(function).
circular-list
(function).
coerce-integer
(function).
coerce-number
(function).
collect
(function).
collecting
(macro).
curry
(function).
d2r
(macro).
d2ri
(macro).
date-time-string
(function).
decf&
(macro).
def-cached-function
(macro).
def-cached-function-1
(macro).
defbit
(macro).
defsubst
(macro).
degrees-to-radians
(constant).
delete-keyword-arg
(function).
delete-keyword-args
(function).
deletef
(macro).
do-for-array-elements
(macro).
dolines
(macro).
dosequence
(macro).
dotree
(function).
dotree-all
(function).
dumb-relative-pathname
(function).
dump-ht
(function).
externalp
(function).
extreme
(function).
extremes
(function).
fast-string
(function).
fast-whitespacep
(function).
file-copy
(function).
file-to-string
(function).
filter
(function).
filter-out
(function).
find-all
(function).
findprop
(function).
firstn
(function).
flatten
(function).
format-time
(function).
fringe
(function).
geo-mean
(function).
group
(function).
hash-keys
(function).
ht-contents
(function).
in-background
(macro).
incf&
(macro).
integers
(function).
intersection*
(function).
itrace
(macro).
keywordize
(function).
let-globally
(macro).
listify
(function).
log2
(function).
logand&
(macro).
logandc1&
(macro).
logior&
(macro).
lognot&
(macro).
logxor&
(macro).
mapappend
(function).
mapcross
(function).
mapsequence
(function).
mapsubsets
(function).
mapsum
(function).
maptree
(function).
mapunion
(function).
max&
(function).
maximize
(function).
maximums
(function).
min&
(function).
minimize
(function).
minimums
(function).
mv-let*
(macro).
named-lambda
(macro).
new-string
(function).
now
(function).
nth-root
(function).
ntranslate-string
(function).
number-of-bits
(function).
oget
(method).
once-only
(macro).
oput
(method).
parse-substrings
(function).
pcond
(macro).
pi/2
(constant).
pi/4
(constant).
plet
(macro).
plet*
(macro).
plist-mixin
(class).
plusp&
(macro).
pop-end
(macro).
push-end
(macro).
push-string
(macro).
pushnew-end
(macro).
r2d
(macro).
radians-to-degrees
(constant).
random-element
(function).
rcurry
(function).
read-until
(function).
read-until-string
(function).
relative-pathname
(function).
removef
(macro).
replacef
(macro).
report-and-ignore-errors
(macro).
(setf schar&)
(setf expander).
schar&
(function).
set-equal
(function).
short-date-time-string
(function).
sign
(function).
single-pi
(constant).
split-list
(function).
stable-nset-difference
(function).
std-dev
(function).
stream-copy
(function).
stream-copy-by-lines
(function).
string+
(function).
string-join
(function).
string-prefix-equals
(function).
string-remove-chars
(function).
string-remove-whitespace
(function).
string-replace
(function).
string-split
(function).
string-trim-whitespace
(function).
string-truncate
(function).
string-truncate-to-word-boundary
(function).
string-upper-case-p
(function).
subclasses
(method).
subseq-safe
(function).
summing
(macro).
superclasses
(method).
(setf svref&)
(setf expander).
svref&
(function).
symbol-conc
(function).
symbolize
(function).
this-pathname
(function).
transitive-closure
(function).
transitive-closure-procedure
(function).
translate-string
(function).
union*
(function).
unix-current-time
(function).
unlistify
(function).
up-keywordize
(function).
vector->string
(function).
without-interrupts
(macro).
zerop&
(macro).
*debug-indent-level*
(special variable).
*debug-level*
(special variable).
*debug-stream*
(special variable).
accumulating
(macro).
big-concatenate-strings
(function).
bits
(function).
cached-lambda
(macro).
closest
(function).
compose
(function).
debug-line-out
(function).
debug-trace
(macro).
def-fixnum-op
(macro).
do-for-array-elements-1
(macro).
fast-princ-to-string
(function).
findprops
(function).
first-line
(function).
getbit
(function).
ht-invert
(function).
insert-before
(function).
int
(macro).
last-elt
(function).
let*-debug
(macro).
list-insert
(function).
list-truncate
(function).
maptree-dots
(function).
minusp&
(macro).
mod&
(macro).
neq
(macro).
nice-gensym
(function).
non-nil
(macro).
ntranslate-string-fast
(function).
plabels
(macro).
pprint-to-string
(function).
return-errors
(macro).
return-from-if
(macro).
return-if
(macro).
setbit
(function).
string-fast-whitespacep
(function).
string-split-words
(function).
string-to-file
(function).
sum-list
(function).
use-package-safely
(function).
with-debug-trace
(macro).
xor
(function).
mtlisp/closstar.lisp
mt-utils.lisp
(file).
mtlisp
(system).
defclass*
(macro).
defmethod*
(macro).
parse-defmethod
(function).
slots-for-class
(function).
split-off-declarations
(function).
symbol-conc
(function).
mtlisp/clos-dumper.lisp
closstar.lisp
(file).
mtlisp
(system).
*dump-top-thing*
(special variable).
dump
(function).
dump-copy
(function).
dump-form
(method).
dump-form
(method).
dump-form
(method).
dump-form
(method).
dump-form
(method).
dump-form
(method).
dump-form
(method).
dump-form
(method).
dump-form
(method).
dump-form
(method).
dump-form
(method).
dump-to-file
(function).
dump-to-stream
(function).
dump-to-string
(function).
dump-var-to-file
(function).
make-slot-dumper
(macro).
slot-dump-forms
(generic function).
*dump-ht*
(special variable).
*dump-temp-package*
(special variable).
*dumper-gensym-counter*
(special variable).
*dumping-to-file*
(special variable).
*prelude-vars*
(special variable).
*prepass*
(special variable).
dump-var
(function).
globally-named-object-mixin
(class).
rebuild-sequence
(function).
undump-ht
(function).
mtlisp/ctrace.lisp
clos-dumper.lisp
(file).
mtlisp
(system).
*last-ctrace*
(special variable).
ct
(macro).
ctrace
(macro).
ctrace-all
(function).
ctrace-function
(function).
start-ctrace
(function).
stop-ctrace
(function).
unctrace-function
(function).
view-ctrace
(function).
with-ctrace
(macro).
with-ctracing
(macro).
*ctrace-current-item*
(special variable).
*ctrace-level*
(special variable).
*ctrace-top*
(special variable).
*ctraced-functions*
(special variable).
copy-list-recursive
(function).
ctrace-item-out
(function).
stream-line-length
(method).
trace-window
(class).
unctrace-function-1
(function).
Packages are listed by definition order.
closstar
clos*
common-lisp
.
defclass*
(macro).
defmethod*
(macro).
parse-defmethod
(function).
slots-for-class
(function).
split-off-declarations
(function).
symbol-conc
(function).
lisp-unit
common-lisp
.
assert-eq
(macro).
assert-eql
(macro).
assert-equal
(macro).
assert-equality
(macro).
assert-equalp
(macro).
assert-error
(macro).
assert-expands
(macro).
assert-false
(macro).
assert-prints
(macro).
assert-runs
(macro).
assert-true
(macro).
define-test
(macro).
get-test-code
(function).
get-tests
(function).
logically-equal
(function).
remove-all-tests
(function).
remove-tests
(function).
run-all-tests
(macro).
run-tests
(macro).
set-equal
(function).
use-debugger
(function).
*assertion*
(special variable).
*assertion-counter*
(special variable).
*assertion-passed*
(special variable).
*collection*
(special variable).
*error*
(special variable).
*error-count*
(special variable).
*fail*
(special variable).
*fail-count*
(special variable).
*pass-count*
(special variable).
*succeed*
(special variable).
*test*
(special variable).
*test-count*
(special variable).
*test-name*
(special variable).
*test-package*
(special variable).
*test-runner*
(special variable).
*tests*
(special variable).
*use-debugger*
(special variable).
collect
(macro).
collect-form-values
(function).
collecting
(macro).
expand-assert
(function).
expand-error-form
(function).
expand-extras
(function).
expand-macro-form
(function).
expand-output-form
(function).
failure-message
(generic function).
get-failure-message
(function).
get-package-table
(function).
get-test-name
(function).
get-test-thunk-n
(function).
handle-error
(generic function).
internal-assert
(function).
junit-test-runner
(class).
record-result-n
(generic function).
record-test
(generic function).
run
(generic function).
run-test
(generic function).
run-test-suite
(generic function).
s
(function).
show-failure
(function).
show-failure-to-string
(function).
show-summary
(function).
store-test-code
(function).
test-passed-p
(function).
test-runner
(class).
use-debugger-p
(function).
with-output-to-junit
(macro).
mt
common-lisp
.
*&
(macro).
*dump-top-thing*
(special variable).
*last-ctrace*
(special variable).
*whitespace*
(special variable).
+&
(macro).
-&
(macro).
/&
(macro).
1+&
(macro).
1-&
(macro).
2pi
(constant).
<&
(macro).
<=&
(macro).
=&
(macro).
>&
(macro).
>=&
(macro).
^
(macro).
aand
(macro).
abs-max
(function).
absmin
(function).
acond
(macro).
add-nickname
(function).
aif
(macro).
alambda
(macro).
arand
(function).
aref&
(macro).
assocadr
(macro).
assocdr
(macro).
average
(function).
awhen
(macro).
break-list
(function).
car&
(function).
cdr&
(function).
circular-list
(function).
coerce-integer
(function).
coerce-number
(function).
collect
(function).
collecting
(macro).
ct
(macro).
ctrace
(macro).
ctrace-all
(function).
ctrace-function
(function).
curry
(function).
d2r
(macro).
d2ri
(macro).
date-time-string
(function).
decf&
(macro).
def-cached-function
(macro).
def-cached-function-1
(macro).
defbit
(macro).
defsubst
(macro).
degrees-to-radians
(constant).
delete-keyword-arg
(function).
delete-keyword-args
(function).
deletef
(macro).
do-for-array-elements
(macro).
doc
(macro).
dolines
(macro).
dosequence
(macro).
dotree
(function).
dotree-all
(function).
dumb-relative-pathname
(function).
dump
(function).
dump-copy
(function).
dump-form
(generic function).
dump-ht
(function).
dump-to-file
(function).
dump-to-stream
(function).
dump-to-string
(function).
dump-var-to-file
(function).
externalp
(function).
extreme
(function).
extremes
(function).
fast-string
(function).
fast-whitespacep
(function).
file-copy
(function).
file-to-string
(function).
filter
(function).
filter-out
(function).
find-all
(function).
findprop
(function).
firstn
(function).
flatten
(function).
format-time
(function).
fringe
(function).
geo-mean
(function).
group
(function).
hash-keys
(function).
ht-contents
(function).
in-background
(macro).
incf&
(macro).
integers
(function).
intersection*
(function).
itrace
(macro).
keywordize
(function).
let-globally
(macro).
listify
(function).
log2
(function).
logand&
(macro).
logandc1&
(macro).
logior&
(macro).
lognot&
(macro).
logxor&
(macro).
make-slot-dumper
(macro).
mapappend
(function).
mapcross
(function).
mapsequence
(function).
mapsubsets
(function).
mapsum
(function).
maptree
(function).
mapunion
(function).
max&
(function).
maximize
(function).
maximums
(function).
min&
(function).
minimize
(function).
minimums
(function).
mv-let*
(macro).
named-lambda
(macro).
new-string
(function).
now
(function).
nth-root
(function).
ntranslate-string
(function).
number-of-bits
(function).
oget
(generic function).
once-only
(macro).
one-string
(macro).
oput
(generic function).
parse-substrings
(function).
pcond
(macro).
pi/2
(constant).
pi/4
(constant).
plet
(macro).
plet*
(macro).
plist-mixin
(class).
plusp&
(macro).
pop-end
(macro).
push-end
(macro).
push-string
(macro).
pushnew-end
(macro).
r2d
(macro).
radians-to-degrees
(constant).
random-element
(function).
rcurry
(function).
read-until
(function).
read-until-string
(function).
relative-pathname
(function).
removef
(macro).
replacef
(macro).
report-and-ignore-errors
(macro).
(setf schar&)
(setf expander).
schar&
(function).
set-equal
(function).
short-date-time-string
(function).
sign
(function).
single-pi
(constant).
slot-dump-forms
(generic function).
split-list
(function).
stable-nset-difference
(function).
start-ctrace
(function).
std-dev
(function).
stop-ctrace
(function).
stream-copy
(function).
stream-copy-by-lines
(function).
string+
(function).
string-join
(function).
string-prefix-equals
(function).
string-remove-chars
(function).
string-remove-whitespace
(function).
string-replace
(function).
string-split
(function).
string-trim-whitespace
(function).
string-truncate
(function).
string-truncate-to-word-boundary
(function).
string-upper-case-p
(function).
subclasses
(generic function).
subseq-safe
(function).
summing
(macro).
superclasses
(generic function).
(setf svref&)
(setf expander).
svref&
(function).
symbol-conc
(function).
symbolize
(function).
this-pathname
(function).
transitive-closure
(function).
transitive-closure-procedure
(function).
translate-string
(function).
unctrace-function
(function).
union*
(function).
unix-current-time
(function).
unlistify
(function).
up-keywordize
(function).
vector->string
(function).
view-ctrace
(function).
with-ctrace
(macro).
with-ctracing
(macro).
without-interrupts
(macro).
zerop&
(macro).
*ctrace-current-item*
(special variable).
*ctrace-level*
(special variable).
*ctrace-top*
(special variable).
*ctraced-functions*
(special variable).
*debug-indent-level*
(special variable).
*debug-level*
(special variable).
*debug-stream*
(special variable).
*dump-ht*
(special variable).
*dump-temp-package*
(special variable).
*dumper-gensym-counter*
(special variable).
*dumping-to-file*
(special variable).
*prelude-vars*
(special variable).
*prepass*
(special variable).
accumulating
(macro).
big-concatenate-strings
(function).
bits
(function).
cached-lambda
(macro).
closest
(function).
compose
(function).
copy-list-recursive
(function).
ctrace-item-out
(function).
debug-line-out
(function).
debug-trace
(macro).
def-fixnum-op
(macro).
do-for-array-elements-1
(macro).
dump-var
(function).
fast-princ-to-string
(function).
findprops
(function).
first-line
(function).
fred-window
(class).
getbit
(function).
globally-named-object-mixin
(class).
ht-invert
(function).
insert-before
(function).
int
(macro).
last-elt
(function).
let*-debug
(macro).
list-insert
(function).
list-truncate
(function).
maptree-dots
(function).
minusp&
(macro).
mod&
(macro).
neq
(macro).
nice-gensym
(function).
non-nil
(macro).
ntranslate-string-fast
(function).
plabels
(macro).
pprint-to-string
(function).
rebuild-sequence
(function).
return-errors
(macro).
return-from-if
(macro).
return-if
(macro).
setbit
(function).
stream-line-length
(generic function).
string-fast-whitespacep
(function).
string-split-words
(function).
string-to-file
(function).
sum-list
(function).
trace-window
(class).
unctrace-function-1
(function).
undump-ht
(function).
use-package-safely
(function).
with-debug-trace
(macro).
xor
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Shorthand for (CADR (ASSOC ...))
mt
.
Shorthand for (CDR (ASSOC ...))
mt
.
Inserts newlines after every argument except the last, and calls ONE-STRING
mt
.
Expands into a lambda-expression within whose BODY NAME denotes the corresponding function.
mt
.
Creates a single string (if its arguments are all constant strings)
or a form that creates a single string (if some arguments are variables)
mt
.
Return a random number from the range [center-range, center+range]
mt
.
Applies FCN to each element of LIST returning all the non-nil values as a list.
mt
.
Turn a universal time into a string. Arguments are fairly obvious.
:include-day and :include-date can take the value :unless-today, in which case date or day
is only included if the time is not today.
mt
.
Returns a string containing all the characters in FILE with line terminators converted to Newlines. If the string would exceed MAX characters (default a million) a warning is issued and NIL is returned.
mt
.
Return only the elements of list meeting PREDICATE
mt
.
Return only the elements of list not meeting PREDICATE
mt
.
INTERSECTION together an arbitrary number of lists (passed in a containing list)
mt
.
Applies FCN to every element of LIST, appending the results together. Order is maintained as one might expect.
mt
.
Applies FCN to every combination of elements from LIST1 and LIST2, returning the list of results. Order is maintained as one might expect.
mt
.
Applies FCN to every element of LIST, unioning the results together. Except for removal of EQL occurences, order is maintained as one might expect.
mt
.
Destructively changes the characters in a string from one set to
another. For example: (ntranslate-string "This"
"abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ")
will change the string to THIS and return it.
NOTE THAT THIS ACTUALLY MODIFIES THE ORIGNAL STRING;
If you want to preserve the string, use TRANSLATE-STRING.
mt
.
Return substrings separated by separator character.
mt
.
mt
.
Returns two lists extracted from list based on PREDICATE.
mt
.
Like NSET-DIFFERENCE, but preserves the order of the LIST1 argument
mt
.
Concatenates strings together and puts SEP between each joined substring
mt
.
Replace occurences of FIND in STRING.
REPLACE can be a string or a function which takes the matched substring and returns a replacement (can be used to preserve case, ie).
mt
.
Given a string STR, return a list of the strings between occurances of CHAR.
mt
.
Returns the pathname of the source file currently being loaded.
mt
.
PROC is a procedure of one arg that returns a list. Thing is a list of starting points, or a single non-list
mt
.
Changes the characters in a string from one set to another. See the documentation for NTRANSLATE-STRING.
mt
.
UNION together an arbitrary number of lists (passed in a containing list)
mt
.
mt
.
globally-named-object-mixin
)) ¶string
)) ¶hash-table
)) ¶structure-object
)) ¶standard-object
)) ¶sequence
)) ¶list
)) ¶null
)) ¶symbol
)) ¶mt
.
plist-mixin
) property &optional default) ¶mt
.
plist-mixin
) property value) ¶mt
.
nconc
.
:most-specific-first
globally-named-object-mixin
)) ¶standard-object
)) ¶structure-object
)) ¶test-runner
) test type form expected actual extras) ¶junit-test-runner
) test error) ¶test-runner
) test error) ¶junit-test-runner
) test passed type form expected actual extras) ¶test-runner
) test passed type form expected actual extras) ¶test-runner
) test tests passes errors time) ¶junit-test-runner
)) ¶test-runner
)) ¶junit-test-runner
) test) ¶test-runner
) test) ¶junit-test-runner
) package) ¶test-runner
) package) ¶mt
.
trace-window
)) ¶:packages
mt
.
Initarg | Value |
---|---|
:scratch-p | t |
Jump to: | (
*
+
-
/
1
<
=
>
^
A B C D E F G H I K L M N O P R S T U V W X Z |
---|
Jump to: | (
*
+
-
/
1
<
=
>
^
A B C D E F G H I K L M N O P R S T U V W X Z |
---|
Jump to: | *
2
C D G P R S |
---|
Jump to: | *
2
C D G P R S |
---|
Jump to: | C F G J L M P S T |
---|
Jump to: | C F G J L M P S T |
---|