| *development-mode* | |
|---|---|
| *file-if-exists* | Default behavior to use when opening files if they already exist. |
| *samep-test* | Used by samep to determine if two things are 'the same'. Defaults |
| *use-native-debugger* | |
| +very-small-number+ | Someones idea of a very small number. Used in very-small-number-p. |
| +whitespace-characters+ | A list of characters that should be treated as whitespace. See, |
| +hours-per-day+ | The number of hours in one day. |
|---|---|
| +minutes-per-hour+ | The number of minutes in one hour. |
| +seconds-per-day+ | The number of seconds in one day. |
| +seconds-per-hour+ | The number of seconds in one hour. |
| +seconds-per-minute+ | The number of seconds in one minute. |
| +usual-days-per-year+ | The number of days in an ordinary year. |
| add-class-if-necessary | Adds the superclass to the class-list unless it's already there. |
|---|---|
| add-classes-if-necessary | |
| all-pairs | Returns all pairs of elements in list LST. |
| apply-if-exists | If the function |
| array-row | Returns the row'th row of array. Array is assumed to be two dimensional and row |
| best | fn must be a predicate of two arguments; returns the element |
| binary-search | |
| car-safe | Returns the car of `x' if it's a cons, NIL otherwise. |
| 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 |
| choose-item-question | |
| choose-new-file-question | |
| circular-list | Builds a circular list with `elements'. |
| class-copyable-p | |
| cleanup-parsed-parameter | |
| collect-forms | |
| collect-garbage | Tell lisp that now is a good time to collect any accumulated garbage. |
| collect-lines | |
| collect-matching-files | |
| combinations | Returns all combinations of elements in LISTS, where first |
| compact-array | Destructively compacts an array with fill-pointer. Works on type T |
| compose | Return a function that is the composition of fn1 and fn2. I.e., |
| conjoin | Returns the conjuction of the predicates given as arguments. As with ~ |
| constant-expression-p | |
| convert-clauses-into-lists | |
| convert-clauses-into-lists* | |
| copy-array | |
| copy-file | Copies the file designated by the non-wild pathname designator FROM |
| current-load-file | Returns (if possible) the value of the file currently being loaded or from which |
| curry | Curries fun on the fly |
| curry-after | Sometimes we want to curry a function over some arguments |
| 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 |
| day->string | Returns the name of |
| day-of-year | Returns the day of the year [1 to 366] of the specified date [which must be (CL) universal time f... |
| days-in-month | Returns the number of days in the specified month. The month should be |
| default-interface | Return the current default interface (this is setfable). |
| delete-directory | |
| directory-pathname-p | |
| disjoin | Returns the disjunction of the predicates given as arguments. As with ~ |
| dotted-pair-p | Returns true if and only if |
| ensure-directory-pathname | |
| ensure-filename-safe-for-os | |
| ensure-list | If |
| eos-namestring-from-date | forms a namestring based on date and time, in the form of |
| export-exported-symbols | Make the exported symbols in from-package be also exported from to-package. |
| file-newer-than-file-p | Compares the write dates of |
| 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 OnLisp_. Given a list, collects all the non-nil |
| find-all | Find all those elements of sequence that match item, |
| firstn | Returns first 'n' elements of list. |
| fixnump | Same as (typep arg 'fixnum). A lot of Explorer code was written using this, |
| 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 |
| 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: |
| funcall-if-exists | If the function |
| 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 |
| graph-search | Find a state that satisfies goal-p. Start with states, |
| group | Return the elements of |
| gui-error | |
| gui-warn | |
| inspect-thing | |
| inspect-things | |
| interface-beep | |
| invalid-stream-specifier-error | |
| is-default-interface-available-p | |
| iterate-over-indexes | Apply fn to lists of indexes generated from symbol counts. The counting is |
| lambda-list->args | Takes a formal parameter list, possibly containing things like &optional or (key |
| leap-year-p | Returns t if the specified year is a leap year. I.e. if the year |
| length-1-list-p | Is x a list of length 1? Note that this is better than the naive (= (length x) 1) because we don'... |
| length-exactly-p | Returns true if the lenght of |
| linearize-array | |
| list->formatted-string | This is a convenience function for when the intracacies of format are just too much. It takes a l... |
| make-color* | given red, green, and blue, returns an encoded rgb value |
| make-gray | |
| make-initialized-array | Creates an array initialized from using `inits' which is a list of the form |
| make-scaled-color | |
| make-sorter | Returns a sorter-predicate that returns true if it follows the KEYS-AND-PREDICATES |
| map-> | Really generalized mapping. |
| map-combinations | Call fn on all combinations of elements in LISTS, where first |
| map-files | Apply the function to all of the files in wildcarded-file-spec. Any |
| map-forms | |
| map-lines | |
| map-matching-files | |
| 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! | |
| mapcars | Has the some effect as (mapcar fn (apply #'append lsts)). |
| match | |
| minimize | Returns the |
| month->string | Returns the name (in English) of the month. Format can be :long or :short. |
| most | fn is a scoring function of one argument; returns the element |
| mostn | |
| nearly-equal-p | Returns true if x and y are within threshold of each other. |
| nearly-zero-p | Returns true if |
| neq | |
| newsym | Create a new uninterned symbol whose print name begins with `prefix', which |
| nmerge-list | Destructive merge of |
| nth-elt-of-cross-product | Suppose we created a multidimensional array, with as many dimensions as |
| nth-elt-of-cross-product-as-multiple-values | Returns list of values of `nth-elt-of-cross-product' as multiple values. |
| object->string | Uses the Common Lisp |
| parse-brief-slot | Returns a verbose-style slot specification given a brief style, consisting of |
| parse-date-and-time | Converts `spec' to a universal time. Spec can either be a number, in which |
| parse-date-and-time-string | Parses strings expressing the day and/or time, such as 12/4/61 4:03:15. |
| parse-interval-or-never | parse a string either describing a time interval or never. |
| partition | Partitions SEQ based on FN. Returns twa values: (a) the list of all elements |
| pathname-samep | Returns true if the logical translations of |
| pathname-without-name+type | Chop off any name and type information from a pathname. |
| percent-overlap | Returns what percentage of elements in list-a are in list-b |
| permute | |
| physical-pathname-directory-separator | Returns a string representing the separator used to delimit directories |
| power-set | Returns the power set of SET. This of course uses exponential time and space. |
| 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]HhMm. For exampl... |
| print-brief-ut | Prints only those aspects of |
| print-date | Prints the information in the form `Wednesday, June 7, 1989' |
| print-time | Prints the information in the form `12:34 pm' |
| print-time-interval | Prints the time elapsed by |
| print-universal-time | Prints a universal time to stream using |
| print-ut | Prints |
| process-parameters | |
| prompt-for | |
| put-item-on-clipboard | |
| query-user-for-integer | |
| query-user-for-string | |
| quit-lisp | |
| reduce-if | See MINIMIZE. Primary difference: no non-standard keyword behavior. |
| relative-pathname | |
| 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. |
| 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)). |
| select-instrument | |
| set-equal | Returns t if list1 and list2 are equal (as sets). If list1 and list2 are not |
| short-eos-namestring-from-date | |
| sort-using-list-order | Sorts the list |
| sound-note | |
| stop-notes | |
| string->month | |
| string->symbol | Returns the string as a bare symbol, replacing any whitespace with dashes. ~ |
| string-after | Returns the part of string before the first appearance of CHAR. |
| string-before | Returns the part of string before the first appearance of CHAR. |
| string-contains-p | Returns t if string contains the string-to-find. Case insensitive unless specified, and you can a... |
| string-ends-with | Returns true if |
| string-starts-with | Returns true if |
| string-trim-if | |
| strip-whitespace | |
| substring | |
| symbol->string | Returns a symbol as a string, replacing any dashes with spaces. The inverse ~ |
| 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-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. |
| 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. |
| 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 |
| 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, |
| unique-file-name-from-date | Returns a namestring whose suffix is the |
| unused-variables | Returns which of the variables defined by LAMBDA-LIST do not appear in form. |
| very-small-number-p | |
| whitespacep | Returns true if |
| y-or-n-question |
| argmax | Returns the item in items with the biggest (#'>) value of function. See best-item for a generaliz... |
|---|---|
| argmin | Returns the item in items with the smallest (#'<) value of function. |
| best-item | Returns the item in items with the 'best' value of function where |
| close-progress-bar | |
| collect-garbage* | |
| dialog-item-value | |
| element | |
| inspect-thing* | |
| is-interface-available-p | Returns true is interface-name is available. |
| length-at-least-p | Returns true if thing has no fewer than length elements in it. |
| length-at-most-p | Returns true if thing has no more than length elements in it. |
| make-progress-bar | |
| make-ui-point* | |
| map-forms-in-file | Reads file one form at a time (using read) and applies |
| map-lines-in-file | Reads the file to which file-specifier resolves one line at a time (using read-line) and applies ... |
| nearly-samep | Compares two things and returns true if they are the same |
| next-element | |
| note-view-settings-changed | Does whatever makes sense to bring a view up-to-date |
| progress-bar-value | |
| quit-lisp* | Quits Lisp |
| samep | Compares two things and returns true if they are the same |
| shorten-filename-for-os | Returns a file-name for file-specifier such that it is a valid name for the current underlying OS... |
| size | Returns the number of items currently in the container. |
| total-bytes-allocated* | |
| total-size | |
| uniquify-file-name | Returns a file name that is not currently in use. The strategy used if there is a conflict is to ... |
| update-dialog-ui | A generic place to hang dialog updating code. |
| view-scale | |
| view-x/view-y->x/y |
| allf | |
|---|---|
| assert* | A variation on the `assert' macro in which the restart handler is bound |
| concf | |
| defclass* | Like 'defclass-brief' but also provides the :MAKE-LOAD-FORM-P, :EXPORT-P, |
| defclass-brief | A macro with simpler syntax than `defclass' that allows some |
| defclass-property | Create getter and setter methods for 'property' on symbol's property lists. |
| defcondition | Defcondition is a handy shortcut for defining Common Lisp conditions. It |
| deletef | Same as (setf list (apply #'delete item list delete-args)). |
| deprecated | Wrap a function definition with `deprecated' to indicate that it should |
| doplist | Iterate over each key/value pair in a plist. Key and Value are |
| ensure-type | |
| eval-always | Expands into an eval-when with all the fixings. It's nothing but a shorthand. |
| funcall-if | |
| handle-errors | |
| handler-bind* | Special handler-bind which allow two special control contructs |
| handler-case-if | |
| if-match | |
| make-load-form* | |
| make-obsolete | |
| maxf | Sets |
| minf | Sets |
| muffle-redefinition-warnings | Evaluate the body so that redefinition warnings will not be |
| multf | Sets `place' to (* delta place) |
| named-lambda | Like `lambda,' except that the lambda has a name, which can be very useful if |
| nilf | |
| nyi | Signals an error saying that this function is not yet implemented. The args |
| once-only | Generate code that evaluates certain expressions only once. |
| push-end | Like PUSH, except that the value goes on the end of the PLACE list. |
| rebinding | Similar to ONCE-ONLY. Typical usage: |
| removef | Same as (setf list (apply #'remove item list delete-args)). |
| some* | An iterative version of the function `some'. Bind each element of list in |
| spy | A debugging tool: wrapping this around a form causes both the form and its |
| spyx | A version of |
| tf | |
| toggle! | Switches the values of each place to its opposite as in |
| with-array | |
| with-atomic-execution | |
| with-gensyms | |
| with-input | Create an input stream from source and bind it to var within the body of the with-input form. The... |
| with-matrix | |
| with-new-file | |
| with-output | Create an output stream from source and bind it to var within the body of the with-output form. T... |
| with-process-message | |
| with-progress-bar | |
| with-slot-bindings | makes this: (with-slot-bindings (((x x2) double-float) ((y y2) double-float)) location-2 body) |
| with-stream-from-specifier | |
| with-struct | |
| with-unique-names | Binds the symbols in VARS to gensyms. cf with-gensyms. |
| with-variables | Using gensyms is necessary to prevent variables produced by macro expansions |
| without-interrupts | Executes `forms' as a critical section; no other threads can get in. |
| \ | Similar to Haskell's \ operator. Typical usage: |