add-class-if-necessary | Adds the superclass to the class-list unless it's already there. |
---|
add-classes-if-necessary | |
---|
add-dynamic-class-for-parameters | |
---|
add-parameter->dynamic-class | |
---|
all-pairs | Returns all pairs of elements in list LST. |
---|
array-row | Returns the row'th row of array. Array is assumed to be two dimensional and row
is assumed to be... |
---|
beam-search | Search highest scoring states first until goal is reached,
but never consider more than beam-wi... |
---|
best | fn must be a predicate of two arguments; returns the element
which, according to the predicate, b... |
---|
best-first-search | Search lowest cost states first until goal is reached. |
---|
binary-search | |
---|
binding | |
---|
breadth-first-search | Search old states first until goal is reached. |
---|
build-call | |
---|
build-compose | |
---|
car-safe | |
---|
cdr-safe | Returns the cdr of `x' if it's a cons, NIL otherwise. |
---|
choose-directory-question | |
---|
choose-file-question | |
---|
choose-item-from-pup | Present an interface to allow a choice from a list. Can throw :cancel. |
---|
choose-item-from-pup-no-singletons | Like choose-item-from-pup, but just returns the datum if it
is an atom or a singleton list. |
---|
choose-item-question | |
---|
choose-new-file-question | |
---|
circular-list | Builds a circular list with `elements'. |
---|
class-copyable-p | |
---|
class-redundant-p | |
---|
cleanup-parsed-parameter | |
---|
collect-containers | |
---|
collect-garbage | Tell lisp that now is a good time to collect any accumulated garbage. |
---|
collect-pairs | |
---|
collect-to-char | |
---|
collect-to-not | |
---|
collect-using | Collects stuff by applying the map-fn to the arguments. Assumes that
the map-fn signature has the... |
---|
collect-window-over-elements | Moves a windows of size `window-size` across the elements of `container`, stepping by `window-ste... |
---|
collect-window-over-nodes | Moves a windows of size `window-size` across the elements of `container`, stepping by `window-ste... |
---|
combinations | Returns all combinations of elements in LISTS, where first
element of each combination is from li... |
---|
compact-array | Destructively compacts an array with fill-pointer. Works on type T
arrays and considers elements ... |
---|
compose | Return a function that is the composition of fn1 and fn2. I.e.,
(compose f1 f2)[x] == (f1 (f2 [x... |
---|
conjoin | Returns the conjuction of the predicates given as arguments. As with ~
AND, evaluation stops ... |
---|
conjure-up-filename | Return a string representing a filename whose value consists of the `perfix`, followed by a repre... |
---|
constant-expression-p | |
---|
constant-function-p | |
---|
convert-clauses-into-lists | |
---|
convert-clauses-into-lists* | |
---|
convert-newlines | |
---|
convert-newlines-to-unix | |
---|
copy-array | |
---|
copy-file | Copies the file designated by the non-wild pathname designator FROM
to the file designated by the... |
---|
count-using | Counts stuff by applying the map-fn to the arguments. Assumes that
the map-fn signature has the f... |
---|
current-load-file | Returns (if possible) the value of the file currently being loaded or from which
code is currentl... |
---|
curry | Curries fun on the fly |
---|
curry-after | Sometimes we want to curry a function over some arguments
that appear at the end of the arg list ... |
---|
date-and-time-string | Current date and time returned as a string. |
---|
date-string | Date returned as a string, in the format `Wednesday, June 7, 1989' |
---|
date-string-brief | Returns a string representing the `time` (which defaults to the current universal time). The stri... |
---|
day->string | Returns the name of `day-of-the-week`. The parameter should be a number between 0 and 6 where 0 r... |
---|
day-of-year | Returns the day of the year [1 to 366] of the specified date [which must be (CL) universal time f... |
---|
day-ok-p | |
---|
days-in-month | Returns the number of days in the specified month. The month should be
between 1 and 12. |
---|
default-interface | Return the current default interface (this is setfable). |
---|
define-class | Define a class with all the bells and whistles on the fly... See
simple-define-class for the sim... |
---|
delete-if! | Just like `delete-if' except that it returns two values: a list of the
deleted items, and the new... |
---|
depth-first-search | Search new states first until goal is reached. |
---|
determine-dynamic-class | |
---|
direct-superclasses-defclass* | |
---|
disjoin | Returns the disjunction of the predicates given as arguments. As with ~
OR, evaluation stops ... |
---|
dotted-pair-p | Returns true if and only if `putative-pair` is a dotted-list. I.e., if `putative-pair` is a cons ... |
---|
dynamic-class-information | |
---|
element-counts | |
---|
empty-add-parameter->dynamic-class | |
---|
empty-all-add-parameter->dynamic-class | |
---|
ensure-filename-safe-for-os | |
---|
ensure-list | If `x` is a list then ensure-list returns it. If `x` is an atom, then this returns a singleton li... |
---|
ensure-wild-file-spec | |
---|
eos-namestring-from-date | forms a namestring based on date and time, in the form of
<perfix>-09JUN03-010903 where 010903 is... |
---|
export-exported-symbols | Make the exported symbols in from-package be also exported from to-package. |
---|
extract-head-form | Give back the thing that can appear as the head of a procedure
application. |
---|
file-newer-than-file-p | Compares the write dates of `file1' and `file' and returns T if `file' is newer than
`file2' or i... |
---|
file-package | Tries to determine the package of a file by reading it one form at a time and looking for in-pack... |
---|
file-to-list | Convert a file into a list by opening it and calling read repeatedly. |
---|
filter-values | FILTER as defined in _On_Lisp_. Given a list, collects all the non-nil
results of applying FN... |
---|
find-all | |
---|
find-all-if | |
---|
find-all-if-not | |
---|
find-existing-subclass | Look through all the sub-classes of superclass and see if any of them descend
from every class in... |
---|
find-or-create-class | Try to find a class which is a subclass of root and all of the other `classes` as well. If no suc... |
---|
first-item | |
---|
firstn | Returns first 'n' elements of list. |
---|
fix-crlfs | |
---|
fix-type-and-creator | |
---|
flatten | Flattens LIST. Does not handle circular lists but does handle dotted lists. |
---|
float->integer | You can't coerce a float to an integer, because they want to you decide
whether you want to use r... |
---|
form-keyword | Finds or interns a symbol in the keyword package whose name is formed by concatenating the pretty... |
---|
form-symbol | Finds or interns a symbol in the current package whose name is formed by concatenating the pretty... |
---|
form-symbol-in-package | Finds or interns a symbol in package whose name is formed by concatenating the pretty printed rep... |
---|
form-uninterned-symbol | Creates and returns an uninterned symbol whose name is formed by concatenating the pretty printed... |
---|
format-date | Formats universal dates using the same format specifiers as NSDateFormatter. The format is:
%% -... |
---|
function-expression-p | |
---|
gc-time | Returns the total amount of time that this Lisp session has spent in garbage collection. |
---|
gensym* | |
---|
gensym0 | Ignores its argument and returns a gensym. Useful for mapping of a bunch of
arbitrary forms, sin... |
---|
glu-blast | A tools for wiping out files en masse, according to a predicate. Use this guy ~
at your own r... |
---|
good-filename-char-p | Returns T if CHAR is legal in a filename. |
---|
graph-search | Find a state that satisfies goal-p. Start with states,
and search according to successors and ... |
---|
group | Return the elements of `list' grouped in sublists of length `n,' which should
be a positive integ... |
---|
index-of | finds the index of an item in a list, or, in a list embedded in a list.
this allows the user to m... |
---|
init-time-interval-array | |
---|
inspect-things | |
---|
is-default-interface-available-p | |
---|
iter-wide-search | Search, increasing beam width from width to max.
Return the first solution found at any width. |
---|
iterate-over-indexes | Apply fn to lists of indexes generated from symbol counts. The counting is
done so that the first... |
---|
lambda-list->args | Takes a formal parameter list, possibly containing things like &optional or (key
default), and re... |
---|
last-item | |
---|
leap-year-p | Returns t if the specified year is a leap year. I.e. if the year
is divisible by four but not by ... |
---|
length-1-list-p | |
---|
length-exactly-p | Returns true if the lenght of `thing` is exactly `n`... no more, no less. |
---|
linearize-array | |
---|
list->formatted-string | This is a convenience function for when the intracacies of format are just too much. It takes a l... |
---|
list-choose-k | Return a list of lists of all possible ways of choosing
k-elements from the original list. |
---|
make-generator | |
---|
make-initialized-array | Creates an array initialized from using `inits' which is a list of the form
((<index-1> <init-fo... |
---|
make-iterator | |
---|
make-sorter | Returns a sorter-predicate that returns true if it follows the KEYS-AND-PREDICATES
specification.... |
---|
make-sorter-fn | Return a combiner function that sorts according to cost-fn. |
---|
make-ui-point | |
---|
map-> | Really generalized mapping. |
---|
map-combinations | Call fn on all combinations of elements in LISTS, where first
element of each combination is from... |
---|
map-containers | |
---|
map-files | Apply the function to all of the files in wildcarded-file-spec. Any
additional args are passed al... |
---|
map-pairs | |
---|
map-window-over-elements | Moves a windows of size `window-size` across the elements of `container`, stepping by `window-ste... |
---|
map-window-over-nodes | Moves a windows of size `window-size` across the elements of `container`, stepping by `window-ste... |
---|
map0-n | Returns list resulting from applying fn to all numbers i in [0, n]. |
---|
map1-n | Returns list resulting from applying fn to all numbers i in [1, n]. |
---|
mapa-b | Returns list resulting from applying fn to all numbers i in [a, b]. |
---|
mapappend | A non-destructive mapcan. |
---|
maparray | |
---|
maparray! | |
---|
mapcan1 | Like MAPCAN, but for a single list. Doesn't cons, and is reasonably
well optimized. |
---|
mapcars | Has the some effect as (mapcar fn (apply #'append lsts)). |
---|
mappend | |
---|
match | |
---|
maximum-filename-length | |
---|
merge-elements | |
---|
merge-nodes | |
---|
minimize | Returns the ``smallest'' element. Supports all the usual reduce keywords.
PRED sees the new val... |
---|
month->string | Returns the name (in English) of the month. Format can be :long or :short. |
---|
month-ok-p | |
---|
most | fn is a scoring function of one argument; returns the element
with the highest score. |
---|
mostn | |
---|
move-forward-p | |
---|
nearly-equal-p | Returns true if x and y are within threshold of each other. |
---|
nearly-zero-p | Returns true if `x` is within threshold of 0d0. |
---|
new-states | Generate successor states that have not been seen before. |
---|
newsym | Create a new uninterned symbol whose print name begins with `prefix', which
may be a string or a ... |
---|
nicely-format-filename | Write out a representation of file to stream. There are options to show or hide the type of the f... |
---|
nmerge-list | Destructive merge of `list2' into `list1'. Both lists are may be changed.
This works best if the... |
---|
node-counts | |
---|
nth-elt-of-cross-product | Suppose we created a multidimensional array, with as many dimensions as
we have sets, and in whic... |
---|
nth-elt-of-cross-product-as-multiple-values | Returns list of values of `nth-elt-of-cross-product' as multiple values.
See it for documentation... |
---|
nth-ok-p | |
---|
object->string | Uses the Common Lisp `string' function to convert `object' into a string, but
also converts objec... |
---|
oos | Alias of OPERATE function |
---|
operate | |
---|
parameter->dynamic-class | |
---|
parse-brief-slot | Returns a verbose-style slot specification given a brief style, consisting of
a single symbol, th... |
---|
parse-date-and-time | Converts `spec' to a universal time. Spec can either be a number, in which
case this is a no-op,... |
---|
parse-date-and-time-string | Parses strings expressing the day and/or time, such as 12/4/61 4:03:15.
The date part should look... |
---|
parse-interval-or-never | parse a string either describing a time interval or never.
for a time interval, the number of s... |
---|
parse-number | return a number parsed from the contents of string, or a part of it.
from and to specify the part... |
---|
parse-time | |
---|
partition | Partitions SEQ based on FN. Returns twa values: (a) the list of all elements
of SEQ for which... |
---|
pathname-is-old-cvs-junk-p | |
---|
pathname-name+type | Returns a new pathname consisting of only the name and type from a non-wild pathname. |
---|
percent-overlap | Returns what percentage of elements in list-a are in list-b
(alternate definition: Returns what p... |
---|
permute | |
---|
physical-pathname-directory-separator | Returns a string representing the separator used to delimit directories in a physical pathname. F... |
---|
power-set | Returns the power set of SET. This of course uses exponential time and space. |
---|
prepend | Prepend y to start of x |
---|
pretty-namestring-from-date | Returns a representation of the date (which defaults to the current date and time) preceeded by a... |
---|
print-brief-time-interval | Returns a string that describes the time elapsed by `secs' in the format [[H]Hh][M]Mm. For exampl... |
---|
print-brief-ut | Prints only those aspects of `ut' that differ from `ref-time.' Both times
should be in universal-... |
---|
print-date | Prints the information in the form `Wednesday, June 7, 1989' |
---|
print-date-verbose | print the date and time in verbose form on stream.
if stream is nil, construct and return a strin... |
---|
print-time | Prints the information in the form `12:34 pm' |
---|
print-time-interval | Prints the time elapsed by `seconds.' For example, 125 prints ``2 minutes, 5
seconds'' If `print-... |
---|
print-time-with-no-colons | Prints the information in the form `12-34 pm' |
---|
print-universal-date-verbose | print the universal-time ut in verbose form on stream, decoding for timezone.
if stream is nil, c... |
---|
print-universal-time | Prints a universal time to stream using `print-time`. The output can be normal or brief. |
---|
print-universal-time-with-no-colons | |
---|
print-ut | Prints `ut' in the format [M]M/[D]D [H]H:MM or [M]M/[D]D [H]H:MM:SS if
`print-seconds?' is true. ... |
---|
query-user-for-integer | |
---|
query-user-for-string | |
---|
quit-lisp | |
---|
rbuild | |
---|
read-date | strips the date signature off of the front of string. can handle slash-delimited format:
[M]M/[D]... |
---|
read-time | strips the time signature off of the front of string. can handle the following format:
[H]H(:|.)M... |
---|
reduce-if | See MINIMIZE. Primary difference: no non-standard keyword behavior. |
---|
remove-dead-versions | |
---|
remove-illegal-filename-characters | Removes illegal characters from the file name NAME. |
---|
remove-leading-quote | Removes the first quote from a list if one is there. |
---|
remove-members | Removes all members of BAD from the list FROM. |
---|
remove-redundant-classes | |
---|
rename-file-if-present | Renames a file to a unique name based on its file-write-date. See unique-file-name-from-date. |
---|
same-length-p | An optimized version of the naive (= (length list-1) (length list-2)). |
---|
search-all | Find all solutions to a search problem, using beam search. |
---|
set-equal | Returns t if list1 and list2 are equal (as sets). If list1 and list2 are not
equal returns (as mu... |
---|
short-eos-namestring-from-date | |
---|
simple-define-class | Define a class on the fly... |
---|
simple-define-class-name | |
---|
sort-using-list-order | Sorts the list `x' using the other list `list' as a index. |
---|
spy-do-form | |
---|
spy-expand-form | |
---|
spy-parse-arglist | |
---|
spy-prin1 | |
---|
stop-notes | |
---|
string->month | |
---|
string->symbol | Returns the string as a bare symbol, replacing any whitespace with dashes. ~
This is the (near... |
---|
string-after | Returns the part of string before the first appearance of CHAR.
(If FROM-END is T, we count fr... |
---|
string-before | Returns the part of string before the first appearance of CHAR.
(If FROM-END is T, we count fr... |
---|
string-contains-p | Returns t if string contains the string-to-find. Case insensitive unless specified, and you can a... |
---|
string-ends-with | |
---|
string-starts-with | |
---|
substring | |
---|
superclasses-defclass* | |
---|
symbol->string | Returns a symbol as a string, replacing any dashes with spaces. The inverse ~
of string->symbo... |
---|
table¶meter->dynamic-class | |
---|
time-date | Returns the date part of the given time. |
---|
time-day-of-week | Returns the day-of-week part of the given time. |
---|
time-daylight-savings-time-p | Returns the daylight-savings-time-p part of the given time. |
---|
time-hour | Returns the hour part of the given time. |
---|
time-interval-to-seconds | return a number of seconds parsed from string.
if the string cannot be parsed, the first value is... |
---|
time-minute | Returns the minute part of the given time. |
---|
time-month | Returns the month part of the given time. |
---|
time-second | Returns the second part of the given time. |
---|
time-string | Time returned as a string, in the format `12:34 pm' |
---|
time-string-with-no-colons | Time returned as a string, in the format `12-34 pm' |
---|
time-year | Returns the year part of the given time. |
---|
token-type | Determines which reader to use for the next token. |
---|
tokenize-string | Splits a string at delimiter and returns a list of the parts. |
---|
total-bytes-allocated | Returns the total number of bytes that this Lisp session has allocated. |
---|
touch-file | Updates the file-write-date of `file`. |
---|
transpose | |
---|
transpose2 | |
---|
tree-find | Finds the atom ITEM within the arbitrarily-nested cons TREE. |
---|
tree-find-if | Finds first cons in TREE that satisfies TEST. This is guaranteed to be
inefficient. |
---|
tree-map | Maps FN over every atom in TREE. |
---|
tree-remove-if | Removes all atoms from TREE that satisfy TEST. |
---|
tree-search | Find a state that satisfies goal-p. Start with states,
and search according to successors and ... |
---|
type->parameter-table | |
---|
unique-file-name-from-date | Returns a namestring whose suffix is the `date` in the form YYMMMDDHHMMSS. The names prefix will ... |
---|
unixify-crlfs | |
---|
unused-variables | Returns which of the variables defined by LAMBDA-LIST do not appear in form.
This works simply... |
---|
vars-in | |
---|
varsym? | |
---|
very-small-number-p | |
---|
whitespacep | |
---|
y-or-n-question | |
---|
yearp | |
---|