kmrcl

API Reference

kmrcl

KMRCL

  • Function GET-OUTPUT-STREAM-DATA (stream)
    Returns an array of all data sent to a stream made by Make-Byte-Array-Output-Stream since the last call to this function and clears buffer.
  • Function DUMP-OUTPUT-STREAM-DATA (stream)
    Returns an array of all data sent to a stream made by Make-Byte-Array-Output-Stream since the last call to this function.
  • Function MAKE-BYTE-ARRAY-INPUT-STREAM (buffer &optional (start 0) (end (length buffer)))
    Returns an input stream which will supply the bytes of BUFFER between Start and End in order.
  • Macro LET-WHEN ((var test-form) &body body)
  • Macro LET-IF ((var test-form) if-true &optional if-false)
  • Macro AIF (test then &optional else)
  • Macro AWHEN (test-form &body body)
  • Macro AWHILE (expr &body body)
  • Macro AAND (&rest args)
  • Macro ACOND (&rest clauses)
  • Macro ALAMBDA (parms &body body)
  • Macro MAC (form &key (stream *standard-output*) (full nil) (width 80) (downcase t) &environment env)
  • Macro UNTIL (test &body body)
  • Macro WHILE (test &body body)
  • Macro FOR ((var start stop) &body body)
  • Macro WITH-EACH-STREAM-LINE ((var stream) &body body)
  • Macro WITH-EACH-FILE-LINE ((var file) &body body)
  • Macro IN (obj &rest choices)
  • Macro MEAN (&rest args)
  • Macro WITH-GENSYMS (syms &body body)
  • Macro TIME-SECONDS (&body body)
  • Macro TIME-ITERATIONS (n &body body)
  • Macro MV-BIND (vars form &body body)
  • Macro DEFLEX (var val &optional (doc nil docp))
    Defines a top level (global) lexical VAR with initial value VAL, which is assigned unconditionally as with DEFPARAMETER. If a DOC string is provided, it is attached to both the name |VAR| and the name *STORAGE-FOR-DEFLEX-VAR-|VAR|* as a documentation string of kind 'VARIABLE. The new VAR will have lexical scope and thus may be shadowed by LET bindings without affecting its global value.
  • Macro DEF-CACHED-VECTOR (name element-type)
  • Macro DEF-CACHED-INSTANCE (name)
  • Macro WITH-IGNORE-ERRORS (&rest forms)
  • Macro PPMX (form)
    Pretty prints the macro expansion of FORM.
  • Macro DEFCONSTANT* (sym value &optional doc)
    Ensure VALUE is evaluated only once.
  • Macro DEFVAR-UNBOUND (sym &optional (doc ""))
    defvar with a documentation string.
  • Function MEMO-PROC (fn)
    Memoize results of call to fn, returns a closure with hash-table
  • Function MEMOIZE (fn-name)
  • Macro DEFUN-MEMO (fn args &body body)
    Define a memoized function
  • Macro _F (op place &rest args)
  • Function COMPOSE (&rest fns)
  • Function MKLIST (obj)
    Make into list if atom
  • Function MAP-AND-REMOVE-NILS (fn lst)
    mao a list by function, eliminate elements where fn returns nil
  • Function FILTER (fn lst)
    Filter a list by function, eliminate elements where fn returns nil
  • Function APPENDNEW (l1 l2)
    Append two lists, filtering out elem from second list that are already in first list
  • Function REMOVE-FROM-TREE-IF (pred tree &optional atom-processor)
    Strip from tree of atoms that satistify predicate
  • Function FIND-TREE (sym tree)
    Finds an atom as a car in tree and returns cdr tree at that positions
  • Function FLATTEN (tree)
  • Function REMOVE-KEYWORD (key arglist)
  • Function REMOVE-KEYWORDS (key-names args)
  • Function MAPAPPEND (func seq)
  • Function MAPCAR-APPEND-STRING (func v &optional (accum ""))
    Concatenate results of mapcar lambda calls
  • Function MAPCAR2-APPEND-STRING (func la lb &optional (accum ""))
    Concatenate results of mapcar lambda call's over two lists
  • Function APPEND-SUBLISTS (list)
    Takes a list of lists and appends all sublists
  • Function ALIST-ELEM-P (elem)
  • Function ALISTP (alist)
  • Macro UPDATE-ALIST (akey value alist &key (test '#'eql) (key '#'identity))
    Macro to support below (setf get-alist)
  • Function GET-ALIST (key alist &key (test #'eql))
  • Function (setf GET-ALIST) (value key alist &key (test #'eql))
    This won't work if the alist is NIL.
  • Function REMOVE-ALIST (key alist &key (test #'eql))
    Removes a key from an alist.
  • Function DELETE-ALIST (key alist &key (test #'eql))
    Deletes a key from an alist.
  • Function ALIST-PLIST (alist)
  • Function PLIST-ALIST (plist)
  • Macro UPDATE-PLIST (pkey value plist &key (test '#'eql))
    Macro to support below (setf get-alist)
  • Function UNIQUE-SLOT-VALUES (list slot &key (test 'eql))
  • Function NSUBSEQ (sequence start &optional end)
    Return a subsequence by pointing to location in original sequence
  • Function PROBE-DIRECTORY (filename &key (error-if-does-not-exist nil))
  • Function CWD (&optional dir)
    Change directory and set default pathname
  • Function QUIT (&optional (code 0))
    Function to exit the Lisp implementation. Copied from CLOCC's QUIT function.
  • Function COMMAND-LINE-ARGUMENTS
  • Function COPY-FILE (from to &key link overwrite preserve-symbolic-links (preserve-time t) remove-destination force verbose)
  • Function PRINT-FILE-CONTENTS (file &optional (strm *standard-output*))
    Opens a reads a file. Returns the contents as a single string
  • Function READ-STREAM-TO-STRING (in)
  • Function READ-FILE-TO-STRING (file)
    Opens a reads a file. Returns the contents as a single string
  • Function READ-FILE-TO-USB8-ARRAY (file)
    Opens a reads a file. Returns the contents as single unsigned-byte array
  • Function READ-STREAM-TO-STRINGS (in)
  • Function READ-FILE-TO-STRINGS (file)
    Opens a reads a file. Returns the contents as a list of strings
  • Function FILE-SUBST (old new file1 file2)
  • Function PRINT-N-CHARS (char n stream)
  • Function PRINT-N-STRINGS (str n stream)
  • Function INDENT-SPACES (n &optional (stream *standard-output*))
    Indent n*2 spaces to output stream
  • Function INDENT-HTML-SPACES (n &optional (stream *standard-output*))
    Indent n*2 html spaces to output stream
  • Function PRINT-LIST (l &optional (output *standard-output*))
    Print a list to a stream
  • Function PRINT-ROWS (rows &optional (ostrm *standard-output*))
    Print a list of list rows to a stream
  • Function STREAM-SUBST (old new in out)
  • Function WRITE-FIXNUM (n s)
  • Function NULL-OUTPUT-STREAM
  • Function DIRECTORY-TREE (filename)
    Returns a tree of pathnames for sub-directories of a directory
  • Macro WITH-UTIME-DECODING ((utime &optional zone) &body body)
    UTIME is a universal-time, ZONE is a number of hours offset from UTC, or NIL to use local time. Execute BODY in an environment where SECOND MINUTE HOUR DAY-OF-MONTH MONTH YEAR DAY-OF-WEEK DAYLIGHT-P ZONE are bound to the decoded components of the universal time
  • Variable +DATETIME-NUMBER-STRINGS+
    (make-array 61 :adjustable nil :element-type 'string :fill-pointer nil
                :initial-contents
                '("00" "01" "02" "03" "04" "05" "06" "07" "08" "09" "10" "11" "12"
                  "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23" "24" "25"
                  "26" "27" "28" "29" "30" "31" "32" "33" "34" "35" "36" "37" "38"
                  "39" "40" "41" "42" "43" "44" "45" "46" "47" "48" "49" "50" "51"
                  "52" "53" "54" "55" "56" "57" "58" "59" "60"))
  • Function IS-DST (utime)
  • Macro WITH-UTIME-DECODING-UTC-OFFSET ((utime utc-offset) &body body)
  • Function WRITE-UTIME-HMS (utime &key utc-offset stream)
  • Function WRITE-UTIME-HMS-STREAM (utime stream &optional utc-offset)
  • Function WRITE-UTIME-HM (utime &key utc-offset stream)
  • Function WRITE-UTIME-HM-STREAM (utime stream &optional utc-offset)
  • Function WRITE-UTIME-YMDHMS (utime &key stream utc-offset)
  • Function WRITE-UTIME-YMDHMS-STREAM (utime stream &optional utc-offset)
  • Function WRITE-UTIME-YMDHM (utime &key stream utc-offset)
  • Function WRITE-UTIME-YMDHM-STREAM (utime stream &optional utc-offset)
  • Function COPY-BINARY-STREAM (in out &key (chunk-size 16384))
  • Macro DEF-UNSIGNED-INT-IO (len r-name w-name &key (big-endian nil))
    Defines read and write functions for an unsigned integer with LEN bytes from STREAM.
  • Macro MAKE-UNSIGNED-INT-IO-FN (len)
    Makes reader and writer functions for unsigned byte input/output of LEN bytes with both little and big endian order. Function names are in the form of {READ,WRITE}-UINT<LEN>-{be,le}.
  • Function READ-UINT2-LE (stream)
    Reads an 2 byte unsigned integer (little-endian).
  • Function WRITE-UINT2-LE (val stream &key (bounds-check t))
    Writes an 2 byte unsigned integer as binary to STREAM (little-endian).
  • Function READ-UINT2-BE (stream)
    Reads an 2 byte unsigned integer (big-endian).
  • Function WRITE-UINT2-BE (val stream &key (bounds-check t))
    Writes an 2 byte unsigned integer as binary to STREAM (big-endian).
  • Function READ-UINT3-LE (stream)
    Reads an 3 byte unsigned integer (little-endian).
  • Function WRITE-UINT3-LE (val stream &key (bounds-check t))
    Writes an 3 byte unsigned integer as binary to STREAM (little-endian).
  • Function READ-UINT3-BE (stream)
    Reads an 3 byte unsigned integer (big-endian).
  • Function WRITE-UINT3-BE (val stream &key (bounds-check t))
    Writes an 3 byte unsigned integer as binary to STREAM (big-endian).
  • Function READ-UINT4-LE (stream)
    Reads an 4 byte unsigned integer (little-endian).
  • Function WRITE-UINT4-LE (val stream &key (bounds-check t))
    Writes an 4 byte unsigned integer as binary to STREAM (little-endian).
  • Function READ-UINT4-BE (stream)
    Reads an 4 byte unsigned integer (big-endian).
  • Function WRITE-UINT4-BE (val stream &key (bounds-check t))
    Writes an 4 byte unsigned integer as binary to STREAM (big-endian).
  • Function READ-UINT5-LE (stream)
    Reads an 5 byte unsigned integer (little-endian).
  • Function WRITE-UINT5-LE (val stream &key (bounds-check t))
    Writes an 5 byte unsigned integer as binary to STREAM (little-endian).
  • Function READ-UINT5-BE (stream)
    Reads an 5 byte unsigned integer (big-endian).
  • Function WRITE-UINT5-BE (val stream &key (bounds-check t))
    Writes an 5 byte unsigned integer as binary to STREAM (big-endian).
  • Function READ-UINT6-LE (stream)
    Reads an 6 byte unsigned integer (little-endian).
  • Function WRITE-UINT6-LE (val stream &key (bounds-check t))
    Writes an 6 byte unsigned integer as binary to STREAM (little-endian).
  • Function READ-UINT6-BE (stream)
    Reads an 6 byte unsigned integer (big-endian).
  • Function WRITE-UINT6-BE (val stream &key (bounds-check t))
    Writes an 6 byte unsigned integer as binary to STREAM (big-endian).
  • Function READ-UINT7-LE (stream)
    Reads an 7 byte unsigned integer (little-endian).
  • Function WRITE-UINT7-LE (val stream &key (bounds-check t))
    Writes an 7 byte unsigned integer as binary to STREAM (little-endian).
  • Function READ-UINT7-BE (stream)
    Reads an 7 byte unsigned integer (big-endian).
  • Function WRITE-UINT7-BE (val stream &key (bounds-check t))
    Writes an 7 byte unsigned integer as binary to STREAM (big-endian).
  • Function READ-UINT8-LE (stream)
    Reads an 8 byte unsigned integer (little-endian).
  • Function WRITE-UINT8-LE (val stream &key (bounds-check t))
    Writes an 8 byte unsigned integer as binary to STREAM (little-endian).
  • Function READ-UINT8-BE (stream)
    Reads an 8 byte unsigned integer (big-endian).
  • Function WRITE-UINT8-BE (val stream &key (bounds-check t))
    Writes an 8 byte unsigned integer as binary to STREAM (big-endian).
  • Variable *CONSOLE-MSGS*
    t
  • Function CMSG (template &rest args)
    Format output to console
  • Function CMSG-C (condition template &rest args)
    Push CONDITION keywords into *console-msgs-types* to print console msgs for that CONDITION. TEMPLATE and ARGS function identically to (format t TEMPLATE ARGS)
  • Function CMSG-ADD (condition)
  • Function CMSG-REMOVE (condition)
  • Function FIXME (template &rest args)
    Format output to console
  • Macro STRING-APPEND (outputstr &rest args)
  • Function COUNT-STRING-WORDS (str)
  • Function POSITION-CHAR (char string start max)
  • Function POSITION-NOT-CHAR (char string start max)
  • Function DELIMITED-STRING-TO-LIST (string &optional (separator #\ ) skip-terminal)
    split a string with delimiter
  • Function LIST-TO-DELIMITED-STRING (list &optional (separator " "))
  • Function STRING-INVERT (str)
    Invert case of a string
  • Function ADD-SQL-QUOTES (s)
  • Function ESCAPE-BACKSLASHES (s)
  • Function SUBSTITUTE-STRING-FOR-CHAR (procstr match-char subst-str)
    Substitutes a string for a single matching character of a string
  • Function STRING-SUBSTITUTE (string substring replacement-string)
    String substitute by Larry Hunter. Obtained from Google
  • Function STRING-TRIM-LAST-CHARACTER (s)
    Return the string less the last character
  • Function NSTRING-TRIM-LAST-CHARACTER (s)
    Return the string less the last character
  • Function STRING-HASH (str &optional (bitmask 65535))
  • Function IS-STRING-EMPTY (str)
  • Function IS-CHAR-WHITESPACE (c)
  • Function IS-STRING-WHITESPACE (str)
    Return t if string is all whitespace
  • Function STRING-RIGHT-TRIM-WHITESPACE (str)
  • Function STRING-LEFT-TRIM-WHITESPACE (str)
  • Function STRING-TRIM-WHITESPACE (str)
  • Function SUBSTITUTE-CHARS-STRINGS (str repl-alist)
    Replace all instances of a chars with a string. repl-alist is an assoc list of characters and replacement strings.
  • Function ESCAPE-XML-STRING (string)
    Escape invalid XML characters
  • Function MAKE-USB8-ARRAY (len)
  • Function USB8-ARRAY-TO-STRING (vec &key (start 0) end)
  • Function STRING-TO-USB8-ARRAY (str)
  • Function CONCAT-SEPARATED-STRINGS (separator &rest lists)
  • Function PRINT-SEPARATED-STRINGS (strm separator &rest lists)
  • Function PREFIXED-FIXNUM-STRING (num pchar len)
    Outputs a string of LEN digit with an optional initial character PCHAR. Leading zeros are present. LEN must be a fixnum.
  • Function PREFIXED-INTEGER-STRING (num pchar len)
    Outputs a string of LEN digit with an optional initial character PCHAR. Leading zeros are present. LEN must be an integer.
  • Function INTEGER-STRING (num len)
    Outputs a string of LEN digit with an optional initial character PCHAR. Leading zeros are present.
  • Function FAST-STRING-SEARCH (substr str substr-length startpos endpos)
    Optimized search for a substring in a simple-string
  • Function STRING-DELIMITED-STRING-TO-LIST (str substr)
    splits a string delimited by substr into a list of strings
  • Function STRING-TO-LIST-SKIP-DELIMITER (str &optional (delim #\ ))
    Return a list of strings, delimited by spaces, skipping spaces.
  • Function STRING-STARTS-WITH (start str)
  • Function COUNT-STRING-CHAR (s c)
    Return a count of the number of times a character appears in a string
  • Function COUNT-STRING-CHAR-IF (pred s)
    Return a count of the number of times a predicate is true for characters in a string
  • Function NON-ALPHANUMERICP (ch)
  • Function HEXCHAR (n)
  • Function CHARHEX (ch)
    convert hex character to decimal
  • Function BINARY-SEQUENCE-TO-HEX-STRING (seq)
  • Function ENCODE-URI-STRING (query)
    Escape non-alphanumeric characters for URI fields
  • Function DECODE-URI-STRING (query)
    Unescape non-alphanumeric characters for URI fields
  • Function URI-QUERY-TO-ALIST (query)
    Converts non-decoded URI query to an alist of settings
  • Function RANDOM-STRING (&key (length 10) (set :lower-alpha))
    Returns a random lower-case string.
  • Function FIRST-CHAR (s)
  • Function LAST-CHAR (s)
  • Function ENSURE-STRING (v)
  • Function STRING-RIGHT-TRIM-ONE-CHAR (char str)
  • Function REMOVE-CHAR-STRING (char str)
  • Function STRING-STRIP-ENDING (str endings)
  • Function STRING-MAYBE-SHORTEN (str maxlen)
  • Function STRING-ELIDE (str maxlen position)
  • Function SHRINK-VECTOR (str size)
  • Function LEX-STRING (string &key (whitespace '(#\ #\newline)))
    Separates a string at whitespace and returns a list of strings
  • Function SPLIT-ALPHANUMERIC-STRING (string)
    Separates a string at any non-alphanumeric chararacter
  • Function TRIM-NON-ALPHANUMERIC (word)
    Strip non-alphanumeric characters from beginning and end of a word.
  • Function COLLAPSE-WHITESPACE (s)
    Convert multiple whitespace characters to a single space character.
  • Function STRING->LIST (string)
  • Function SAFELY-READ-FROM-STRING (str &rest read-from-string-args)
    Read an expression from the string STR, with *READ-EVAL* set to NIL. Any unsafe expressions will be replaced by NIL in the resulting S-Expression.
  • Function PARSE-FLOAT (f)
  • Function SCORE-MULTIWORD-MATCH (s1 s2)
    Score a match between two strings with s1 being reference string. S1 can be a string or a list or strings/conses
  • Function MULTIWORD-MATCH (s1 s2)
    Matches two multiword strings, ignores case, word position, punctuation
  • Function MAKE-FIELDS-BUFFER (&optional (max-fields +max-fields-per-line+) (max-field-len +max-field+))
  • Function READ-BUFFERED-FIELDS (fields strm &optional (field-delim +field-delim+) (eof 'eof))
    Read a line from a stream into a field buffers
  • Function SEED-RANDOM-GENERATOR
    Evaluate a random number of items
  • Macro RANDOM-CHOICE (&rest exprs)
  • Function CONCAT-SYMBOL-PKG (pkg &rest args)
  • Function CONCAT-SYMBOL (&rest args)
  • Function ENSURE-KEYWORD (name)
    Returns keyword for a name
  • Function ENSURE-KEYWORD-UPCASE (desig)
  • Function ENSURE-KEYWORD-DEFAULT-CASE (desig)
  • Function SHOW (&optional (what :variables) (package *package*))
  • Function SHOW-VARIABLES (&optional (package *package*) (stream *standard-output*))
  • Function SHOW-FUNCTIONS (&optional (package *package*) (stream *standard-output*))
  • Function PRETTY-DATE (year month day &optional (hour 12) (m 0) (s 0))
  • Function PRETTY-DATE-UT (&optional (tm (get-universal-time)))
  • Function DATE-STRING (&optional (ut (get-universal-time)))
  • Function SECONDS-TO-CONDENSED-TIME-STRING (sec &key (dp-digits 0))
    Prints a quantity of seconds as a condensed string. DP-DIGITS controls how many digits after decimal point.
  • Function PRINT-SECONDS (secs)
  • Function PRINT-FLOAT-UNITS (val unit)
  • Function POSIX-TIME-TO-UTIME (time)
  • Function UTIME-TO-POSIX-TIME (utime)
  • Function DAY-OF-WEEK (year month day)
    Day of week calculation using Zeller's Congruence. Input: The year y, month m (1 <= m <= 12) and day d (1 <= d <= 31). Output: n - the day of the week (Sunday = 0, Saturday = 6).
  • Macro ENSURE-INTEGER (obj)
    Ensure object is an integer. If it is a string, then parse it
  • Function HISTOGRAM (v n-bins &key min max)
  • Function FIXNUM-WIDTH
  • Function SCALED-EPSILON (float &optional (operation '+))
    Return the smallest number that would return a value different from FLOAT if OPERATION were applied to FLOAT and this number. OPERATION should be either + or -, and defauls to +.
  • Function SINC (x)
  • Function NUMBERS-WITHIN-PERCENTAGE (a b percent)
    Determines if two numbers are equal within a percentage difference.
  • Function HSV->RGB (h s v)
  • Function HSV255->RGB255 (h s v)
  • Function RGB->HSV (r g b)
  • Function RGB255->HSV255 (r g b)
    Integer convert from rgb from 0-255 -> h from 0-360 and sv from 0-255
  • Function HSV-EQUAL (h1 s1 v1 h2 s2 v2 &key (limit 0.001))
  • Function HSV255-EQUAL (h1 s1 v1 h2 s2 v2 &key (limit 1))
  • Function HSV-SIMILAR (h1 s1 v1 h2 s2 v2 &key (hue-range 15) (value-range 0.2) (saturation-range 0.2) (gray-limit 0.3) (black-limit 0.3))
    Returns T if two HSV values are similar.
  • Function HSV255-SIMILAR (h1 s1 v1 h2 s2 v2 &key (hue-range 15) (value-range 50) (saturation-range 50) (gray-limit 75) (black-limit 75))
    Returns T if two HSV values are similar.
  • Function HUE-DIFFERENCE (h1 h2)
    Return difference between two hues around 360 degree circle
  • Function HUE-DIFFERENCE-FIXNUM (h1 h2)
    Return difference between two hues around 360 degree circle
  • Function GENERALIZED-EQUAL (obj1 obj2)
  • Variable *STANDARD-XML-HEADER*
    "<?xml version=\"1.0\" encoding=\"iso-8859-1\" standalone=\"yes\"?>
    "
  • Variable *STANDARD-HTML-HEADER*
    "<!doctype html public \"-//ietf//dtd html//en\">"
  • Variable *STANDARD-XHTML-HEADER*
    "<?xml version=\"1.0\" encoding=\"iso-8859-1\" standalone=\"yes\"?>
    <!doctype html public \"-//w3c//dtd xhtml 1.1//en\" \"http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd\">"
  • Function USER-AGENT-IE-P (agent)
    Takes a user-agent string and returns T for Internet Explorer.
  • Variable *BASE-URL*
    ""
  • Function BASE-URL! (url)
  • Function MAKE-URL (page-name &key (base-dir *base-url*) (format :html) vars anchor)
  • Function DECODE-URI-QUERY-STRING (s)
    Decode a URI query string field
  • Function SPLIT-URI-QUERY-STRING (s)
  • Function POSITIONS-XML-TAG-CONTENTS (tag xmlstr &optional (start-xmlstr 0) (end-xmlstr (length xmlstr)))
    Returns three values: the start and end positions of contents between the xml tags and the position following the close of the end tag.
  • Function XML-TAG-CONTENTS (tag xmlstr &optional (start-xmlstr 0) (end-xmlstr (length xmlstr)))
    Returns two values: the string between XML start and end tag and position of character following end tag.
  • Function CDATA-STRING (str)
  • Function WRITE-CDATA (str s)
  • Function SGML-HEADER-STREAM (format stream &key entities (encoding "iso-8859-1") standalone (version "1.0") top-element (availability "public") registered organization (type "dtd") label (language "en") url)
  • Function CLOSE-ACTIVE-SOCKET (socket)
  • Function MAKE-ACTIVE-SOCKET (server port)
    Returns (VALUES STREAM SOCKET)
  • Class LISTENER
    PORT   Accessor: PORT
    FUNCTION   Accessor: LISTENER-FUNCTION
    FUNCTION-ARGS   Accessor: FUNCTION-ARGS
    PROCESS   Accessor: PROCESS
    SOCKET   Accessor: SOCKET
    WORKERS   Accessor: WORKERS
    list of worker threads
    NAME   Accessor: NAME
    BASE-NAME   Accessor: BASE-NAME
    WAIT   Accessor: WAIT
    TIMEOUT   Accessor: TIMEOUT
    NUMBER-FIXED-WORKERS   Accessor: NUMBER-FIXED-WORKERS
    CATCH-ERRORS   Accessor: CATCH-ERRORS
    REMOTE-HOST-CHECKER   Accessor: REMOTE-HOST-CHECKER
    FORMAT   Accessor: LISTENER-FORMAT
  • Function INIT/LISTENER (listener state)
  • Function STOP-ALL/LISTENER
  • Function MAKE-REPL (&key (port +default-repl-server-port+) announce user-checker remote-host-checker)
  • Function INIT/REPL (repl state)
  • Function COMMAND-OUTPUT (control-string &rest args)
    Interpolate ARGS into CONTROL-STRING as if by FORMAT, and synchronously execute the result using a Bourne-compatible shell, returns (VALUES string-output error-output exit-status)
  • Function RUN-SHELL-COMMAND (control-string &rest args)
    Interpolate ARGS into CONTROL-STRING as if by FORMAT, and synchronously execute the result using a Bourne-compatible shell, returns (VALUES output-string pid)
  • Function DELETE-DIRECTORY-AND-FILES (dir &key (if-does-not-exist :error) (quiet t) force)
  • Function FILE-SIZE (file)
  • Function GETPID
    Return the PID of the lisp process.
  • Function SET-SIGNAL-HANDLER (sig handler)
    Sets the handler for a signal to a function. Where possible, returns the old handler for the function for later restoration with remove-signal-handler below. To be portable, signal handlers should use (&rest dummy) function signatures and ignore the value. They should return T to tell some Lisp implementations (Allegro) that the signal was successfully handled.
  • Function REMOVE-SIGNAL-HANDLER (sig &optional old-handler)
    Removes a handler from signal. Tries, when possible, to restore old-handler.
  • Function STRING-TRICMP (a b)
    Compares two strings. Returns (VALUES CMP MAX-MATCHED). CMP is -1 if a<b, 0 if a=b, +1 if b>a. MAX-MATCHED is maximum numbers of letters of A successfully compared.
  • Function SIMPLE-STRING-TRICMP (a b)
    Compares two simple strings. Returns (VALUES CMP MAX-MATCHED). CMP is -1 if a<b, 0 if a=b, +1 if b>a. MAX-MATCHED is maximum numbers of letters of A successfully compared.
  • Function NUMBER-TRICMP (a b)
    Compares two numbers. Returns -1 if a<b, 0 if a=b, +1 if b>a.
  • Function COMPLEX-NUMBER-TRICMP (a b)
    Compares the magnitude of two complex numbers. Returns -1 if a<b, 0 if a=b, +1 if b>a.
  • Function SORTED-VECTOR-FIND (key-val sorted-vector &key test key trace)
    Finds index of element in sorted vector using a binary tree search. ~ Order log2(N). Returns (VALUES POS LAST-VALUE LAST-POS COUNT). POS is NIL if not found.
  • Function PRINT-HASH (h &key (stream *standard-output*) key-transform-fn value-transform-fn (prefix "") (divider " -> ") (terminator "~%"))

Also exports

  • COMMON-LISP:SECOND

KMR-MOP

  • Macro PROCESS-CLASS-OPTION (metaclass slot-name &optional required)
  • Macro PROCESS-SLOT-OPTION (metaclass slot-name)

Also exports

  • SB-MOP:FINALIZE-INHERITANCE
  • SB-MOP:COMPUTE-EFFECTIVE-SLOT-DEFINITION
  • SB-MOP:MAKE-METHOD-LAMBDA
  • SB-MOP:DIRECT-SLOT-DEFINITION-CLASS
  • COMMON-LISP:FIND-CLASS
  • SB-MOP:SLOT-DEFINITION-NAME
  • COMMON-LISP:CLASS-NAME
  • SB-MOP:VALIDATE-SUPERCLASS
  • COMMON-LISP:CLASS-OF
  • SB-MOP:CLASS-SLOTS
  • SB-MOP:STANDARD-EFFECTIVE-SLOT-DEFINITION
  • SB-MOP:STANDARD-DIRECT-SLOT-DEFINITION
  • SB-MOP:INTERN-EQL-SPECIALIZER
  • SB-MOP:CLASS-DIRECT-SLOTS
  • SB-MOP:GENERIC-FUNCTION-METHOD-CLASS
  • COMMON-LISP:STANDARD-CLASS
  • SB-MOP:CLASS-PROTOTYPE
  • SB-MOP:SLOT-VALUE-USING-CLASS
  • SB-MOP:GENERIC-FUNCTION-LAMBDA-LIST
  • SB-PCL:COMPUTE-EFFECTIVE-SLOT-DEFINITION-INITARGS
  • SB-MOP:EFFECTIVE-SLOT-DEFINITION-CLASS
  • SB-MOP:COMPUTE-SLOTS