Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the mtlisp Reference Manual, version 0.1, generated automatically by Declt version 3.0 "Montgomery Scott" on Mon Apr 19 17:09:23 2021 GMT+0.
• Introduction | What mtlisp is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
A collection of smallish Common Lisp utilities, written or borrowed by Mike Travers (mt@alum.mit.edu). Part of programming in Lisp is building up a library of idioms and language extensions. These are mine, and feel free to use the package as a whole or extract parts. Original sources for the borrowed parts include Ken Haase, JP Massar, Jeff Shrager, and many others. Load: (load "load.lisp")
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The mtlisp system |
Mike Travers <mt@hyperphor.com>
Lesser Lisp General Public License
MT’s Common Lisp utilities.
0.1
acl-compat
mtlisp.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
Next: The mtlisp/lisp-unit․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
mtlisp.asd
mtlisp (system)
Next: The mtlisp/mt-pkg․lisp file, Previous: The mtlisp․asd file, Up: Lisp files [Contents][Index]
mtlisp (system)
lisp-unit.lisp
Next: The mtlisp/pre-utils․lisp file, Previous: The mtlisp/lisp-unit․lisp file, Up: Lisp files [Contents][Index]
lisp-unit.lisp (file)
mtlisp (system)
mt-pkg.lisp
Next: The mtlisp/mt-utils․lisp file, Previous: The mtlisp/mt-pkg․lisp file, Up: Lisp files [Contents][Index]
mt-pkg.lisp (file)
mtlisp (system)
pre-utils.lisp
Next: The mtlisp/closstar․lisp file, Previous: The mtlisp/pre-utils․lisp file, Up: Lisp files [Contents][Index]
pre-utils.lisp (file)
mtlisp (system)
mt-utils.lisp
Next: The mtlisp/clos-dumper․lisp file, Previous: The mtlisp/mt-utils․lisp file, Up: Lisp files [Contents][Index]
mt-utils.lisp (file)
mtlisp (system)
closstar.lisp
Next: The mtlisp/ctrace․lisp file, Previous: The mtlisp/closstar․lisp file, Up: Lisp files [Contents][Index]
closstar.lisp (file)
mtlisp (system)
clos-dumper.lisp
Previous: The mtlisp/clos-dumper․lisp file, Up: Lisp files [Contents][Index]
clos-dumper.lisp (file)
mtlisp (system)
ctrace.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The lisp-unit package | ||
• The mt package | ||
• The closstar package |
Next: The mt package, Previous: Packages, Up: Packages [Contents][Index]
lisp-unit.lisp (file)
common-lisp
Next: The closstar package, Previous: The lisp-unit package, Up: Packages [Contents][Index]
mt-pkg.lisp (file)
common-lisp
Previous: The mt package, Up: Packages [Contents][Index]
closstar.lisp (file)
clos*
common-lisp
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported constants | ||
• Exported special variables | ||
• Exported macros | ||
• Exported functions | ||
• Exported generic functions | ||
• Exported classes |
Next: Exported special variables, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
Next: Exported macros, Previous: Exported constants, Up: Exported definitions [Contents][Index]
clos-dumper.lisp (file)
ctrace.lisp (file)
mt-utils.lisp (file)
Next: Exported functions, Previous: Exported special variables, Up: Exported definitions [Contents][Index]
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
Shorthand for (CADR (ASSOC ...))
mt-utils.lisp (file)
Shorthand for (CDR (ASSOC ...))
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
ctrace.lisp (file)
ctrace.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
closstar.lisp (file)
lisp-unit.lisp (file)
closstar.lisp (file)
Define an inline function.
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
Inserts newlines after every argument except the last, and calls ONE-STRING
pre-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
clos-dumper.lisp (file)
mt-utils.lisp (file)
Expands into a lambda-expression within whose BODY NAME denotes the corresponding function.
mt-utils.lisp (file)
mt-utils.lisp (file)
Creates a single string (if its arguments are all constant strings)
or a form that creates a single string (if some arguments are variables)
pre-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
mt-utils.lisp (file)
ctrace.lisp (file)
ctrace.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
Next: Exported generic functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
Return a random number from the range [center-range, center+range]
mt-utils.lisp (file)
mt-utils.lisp (file)
Break LIST into sublists of length N
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
Applies FCN to each element of LIST returning all the non-nil values as a list.
mt-utils.lisp (file)
ctrace.lisp (file)
ctrace.lisp (file)
mt-utils.lisp (file)
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-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
mt-utils.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
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-utils.lisp (file)
Return only the elements of list meeting PREDICATE
mt-utils.lisp (file)
Return only the elements of list not meeting PREDICATE
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
INTERSECTION together an arbitrary number of lists (passed in a containing list)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
lisp-unit.lisp (file)
Applies FCN to every element of LIST, appending the results together. Order is maintained as one might expect.
mt-utils.lisp (file)
Applies FCN to every combination of elements from LIST1 and LIST2, returning the list of results. Order is maintained as one might expect.
mt-utils.lisp (file)
mt-utils.lisp (file)
Map PROC over ever subset of SET
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
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-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
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-utils.lisp (file)
mt-utils.lisp (file)
Return substrings separated by separator character.
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
mt-utils.lisp (file)
(setf schar&) (setf expander)
mt-utils.lisp (file)
schar& (function)
lisp-unit.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
Returns two lists extracted from list based on PREDICATE.
mt-utils.lisp (file)
Like NSET-DIFFERENCE, but preserves the order of the LIST1 argument
mt-utils.lisp (file)
ctrace.lisp (file)
mt-utils.lisp (file)
ctrace.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
Concatenate the elements of ARGS.
mt-utils.lisp (file)
Concatenates strings together and puts SEP between each joined substring
mt-utils.lisp (file)
T if STRING begins with PREFIX.
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
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-utils.lisp (file)
Given a string STR, return a list of the strings between occurances of CHAR.
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
(setf svref&) (setf expander)
mt-utils.lisp (file)
svref& (function)
mt-utils.lisp (file)
mt-utils.lisp (file)
Returns the pathname of the source file currently being loaded.
mt-utils.lisp (file)
PROC is a procedure of one arg that returns a list. Thing is a list of starting points, or a single non-list
mt-utils.lisp (file)
mt-utils.lisp (file)
Changes the characters in a string from one set to another. See the documentation for NTRANSLATE-STRING.
mt-utils.lisp (file)
ctrace.lisp (file)
UNION together an arbitrary number of lists (passed in a containing list)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
lisp-unit.lisp (file)
mt-utils.lisp (file)
ctrace.lisp (file)
Next: Exported classes, Previous: Exported functions, Up: Exported definitions [Contents][Index]
clos-dumper.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
clos-dumper.lisp (file)
nconc (short method combination)
Options: :most-specific-first
mt-utils.lisp (file)
mt-utils.lisp (file)
Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
mt-utils.lisp (file)
standard-object (class)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal special variables | ||
• Internal macros | ||
• Internal functions | ||
• Internal generic functions | ||
• Internal classes |
Next: Internal macros, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
ctrace.lisp (file)
ctrace.lisp (file)
ctrace.lisp (file)
ctrace.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
clos-dumper.lisp (file)
clos-dumper.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
Next: Internal functions, Previous: Internal special variables, Up: Internal definitions [Contents][Index]
mt-utils.lisp (file)
mt-utils.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
lisp-unit.lisp (file)
Next: Internal generic functions, Previous: Internal macros, Up: Internal definitions [Contents][Index]
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
lisp-unit.lisp (file)
mt-utils.lisp (file)
ctrace.lisp (file)
ctrace.lisp (file)
mt-utils.lisp (file)
clos-dumper.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
lisp-unit.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
closstar.lisp (file)
mt-utils.lisp (file)
clos-dumper.lisp (file)
lisp-unit.lisp (file)
mt-utils.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
closstar.lisp (file)
closstar.lisp (file)
lisp-unit.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
closstar.lisp (file)
lisp-unit.lisp (file)
ctrace.lisp (file)
clos-dumper.lisp (file)
lisp-unit.lisp (file)
mt-utils.lisp (file)
mt-utils.lisp (file)
Next: Internal classes, Previous: Internal functions, Up: Internal definitions [Contents][Index]
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
lisp-unit.lisp (file)
ctrace.lisp (file)
Previous: Internal generic functions, Up: Internal definitions [Contents][Index]
trace-window (class)
clos-dumper.lisp (file)
standard-object (class)
:global-name
lisp-unit.lisp (file)
test-runner (class)
lisp-unit.lisp (file)
standard-object (class)
junit-test-runner (class)
:packages
ctrace.lisp (file)
fred-window (class)
stream-line-length (method)
Initarg | Value |
---|---|
:scratch-p | t |
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F L M |
---|
Jump to: | F L M |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
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 |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | *
2
C D G P R S |
---|
Jump to: | *
2
C D G P R S |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | C F G J L M P S T |
---|
Jump to: | C F G J L M P S T |
---|