The sclf Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The sclf Reference Manual

This is the sclf Reference Manual, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 04:33:23 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

SCLF is a collection of disparate Common Lisp functions that are
common enough in my code but couldn't find a place anywhere else.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 sclf

Maintainer

Walter C. Pelissero <walter@pelissero.de>

Author

Walter C. Pelissero <walter@pelissero.de>

License

LGPL

Description

Stray Common Lisp Functions

Long Description

A collection of Common Lisp functions for the most disparate uses, too small to fit anywhere else.

Dependency

sb-posix

Source

sclf.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Previous: , Up: Modules   [Contents][Index]

3.1 sclf/mp

Dependencies
Parent

sclf (system)

Location

mp/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Next: , Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 sclf.asd

Location

sclf.asd

Systems

sclf (system)

Packages

sclf-system


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 sclf/package.lisp

Parent

sclf (system)

Location

package.lisp

Packages

sclf


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 sclf/sclf.lisp

Dependency

package.lisp (file)

Parent

sclf (system)

Location

sclf.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 sclf/sysproc.lisp

Dependencies
Parent

sclf (system)

Location

sysproc.lisp

Exported Definitions
Internal Definitions

signal-number (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 sclf/lazy.lisp

Dependencies
Parent

sclf (system)

Location

lazy.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 sclf/directory.lisp

Dependencies
Parent

sclf (system)

Location

directory.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 sclf/time.lisp

Dependencies
Parent

sclf (system)

Location

time.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 sclf/serial.lisp

Dependencies
Parent

sclf (system)

Location

serial.lisp

Exported Definitions

printable-object-mixin (class)

Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.9 sclf/mp/sbcl.lisp

Parent

mp (module)

Location

mp/sbcl.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Files   [Contents][Index]

4.2 Doc


Next: , Previous: , Up: Doc files   [Contents][Index]

4.2.1 sclf/README

Parent

sclf (system)

Location

README


Previous: , Up: Doc files   [Contents][Index]

4.2.2 sclf/mp/README

Parent

mp (module)

Location

mp/README


Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 sclf-system

Source

sclf.asd

Use List

Previous: , Up: Packages   [Contents][Index]

5.2 sclf

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *bourne-shell*
Package

sclf

Source

sysproc.lisp (file)

Special Variable: *decimal-point*
Package

sclf

Source

sclf.lisp (file)

Special Variable: *run-verbose*

If true system commands are displayed before execution and standard error is not discarded.

Package

sclf

Source

sysproc.lisp (file)

Special Variable: *thousands-comma*
Package

sclf

Source

sclf.lisp (file)

Special Variable: *tmp-file-defaults*
Package

sclf

Source

sclf.lisp (file)

Special Variable: +month-names+
Package

sclf

Source

time.lisp (file)

Special Variable: +whitespace+
Package

sclf

Source

sclf.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Macros

Macro: aand &rest ARGS
Package

sclf

Source

sclf.lisp (file)

Macro: acase CONDITION &body FORMS
Package

sclf

Source

sclf.lisp (file)

Macro: acond &body FORMS
Package

sclf

Source

sclf.lisp (file)

Macro: aif TEST THEN &optional ELSE
Package

sclf

Source

sclf.lisp (file)

Macro: atomic-decf PLACE
Package

sclf

Source

sbcl.lisp (file)

Macro: atomic-incf PLACE
Package

sclf

Source

sbcl.lisp (file)

Macro: awhen TEST &body THEN
Package

sclf

Source

sclf.lisp (file)

Macro: be &rest BINDINGS-AND-BODY

Less-parenthetic let.

Package

sclf

Source

sclf.lisp (file)

Macro: be* &rest BINDINGS-AND-BODY

Less-parenthetic let*.

Package

sclf

Source

sclf.lisp (file)

Macro: cached CACHE KEY VALUE

If KEY is found in CACHE return the associated object. Otherwise store VALUE for later re-use.

Package

sclf

Source

sclf.lisp (file)

Macro: defconst NAME VALUE &rest ETC

For some reason SBCL, between usefulness and adherence to the ANSI standard, has chosen the latter, thus rendering the DEFCONSTANT pretty useless. This macro works around that problem.

Package

sclf

Source

sclf.lisp (file)

Macro: deflazy NAME VALUE &optional DOCUMENTATION
Package

sclf

Source

lazy.lisp (file)

Macro: defun-memoized NAME ARGS &body FORMS

Define function NAME and make it memoizable. Then the MEMOIZED macro can be used to call this function and memoize its results. The function NAME must accept only one argument and return just one argument; more complicated cases are not considered. The hash table test function is the default ’EQL.

Package

sclf

Source

sclf.lisp (file)

Macro: do-directory-tree (FILE ROOT-PATHNAME &key TRUENAMEP TEST DEPTH-FIRST) &body BODY

Call TRAVERSE-DIRECTORY-TREE with BODY es procedure.

Package

sclf

Source

directory.lisp (file)

Macro: do-dle (VAR DLE &optional RESULT) &body BODY

Iterate over a list of DOUBLE-LINKED-ELEMENTs and map body to each element’s value. Bind VAR to the value on each iteration.

Package

sclf

Source

sclf.lisp (file)

Macro: do-dle* (VAR DLE &optional RESULT) &body BODY

Same as DO-DLE but VAR is a symbol macro, so that BODY can modify the element’s value.

Package

sclf

Source

sclf.lisp (file)

Macro: do-dll (VAR LIST &optional RESULT) &body BODY

Iterate over a dll and map body to each element’s value. Bind VAR to the value on each iteration.

Package

sclf

Source

sclf.lisp (file)

Macro: do-dll* (VAR LIST &optional RESULT) &body BODY

Same as DO-DLL but VAR is a symbol macro, so that BODY can modify the element’s value.

Package

sclf

Source

sclf.lisp (file)

Macro: f++ X &optional DELTA

Same as INCF but hopefully optimised for fixnums.

Package

sclf

Source

sclf.lisp (file)

Macro: gcase (VALUE &optional TEST) &rest CASES

Generic CASE macro. Match VALUE to CASES as if by the normal CASE but use TEST as the comparison function, which defaults to EQUALP.

Package

sclf

Source

sclf.lisp (file)

Macro: lazy FORM
Package

sclf

Source

lazy.lisp (file)

Macro: let-places PLACES-AND-VALUES &body BODY

Execute BODY binding temporarily some places to new values and restoring the original values of these places on exit of BODY. The syntax of this macro is identical to LET. The difference is that instead of new variable names this macro binds values to existing places (variables).

Package

sclf

Source

sclf.lisp (file)

Macro: let-slots ACCESSOR/NEW-VALUE-PAIRS OBJECT &body BODY

Execute BODY with some OBJECT’s slots temporary sets to new values as described in ACCESSOR/NEW-VALUE-PAIRS. The latter should be an alist of accessor names and the value to be assigned to that slot. On exit from BODY, those slots are restored to their original value. See LET-PLACES.

Package

sclf

Source

sclf.lisp (file)

Macro: memoize-function NAME &key TEST

Make function NAME memoized. TEST is passed to MAKE-HASH-TABLE.

Package

sclf

Source

sclf.lisp (file)

Macro: memoized FUNCTION ARG

If necessary call FUNCTION passing ARG so that its return value is memoized. The next time this form is executed with the same argument value, the memoized result is returned instead of executing FUNCTION.

Package

sclf

Source

sclf.lisp (file)

Macro: on-error FORM &body ERROR-FORMS

Execute FORM and in case of error execute ERROR-FORMS too. This does _not_ stop the error from propagating.

Package

sclf

Source

sclf.lisp (file)

Macro: save-file-excursion (STREAM &optional POSITION) &body FORMS

Execute FORMS returning, on exit, STREAM to the position it was before FORMS. Optionally POSITION can be set to the starting offset.

Package

sclf

Source

sclf.lisp (file)

Macro: show &rest THINGS

Debugging macro to show the name and content of variables. You can also specify forms, not just variables.

Package

sclf

Source

sclf.lisp (file)

Macro: swap X Y

Swap values of places X and Y.

Package

sclf

Source

sclf.lisp (file)

Macro: until TEST &body BODY
Package

sclf

Source

sclf.lisp (file)

Macro: with-euid UID &body FORMS

Switch temporarely to Unix user id UID, while performing FORMS.

Package

sclf

Source

sclf.lisp (file)

Macro: with-gensyms (&rest SYMBOLS) &body BODY

Gensym all SYMBOLS and make them available in BODY. See also LET-GENSYMS.

Package

sclf

Source

sclf.lisp (file)

Macro: with-hidden-temp-file (STREAM &rest OPEN-ARGS) &body BODY

Just like WITH-TEMP-FILE but unlink (delete) the temporary file before the execution of BODY. As such BODY won’t be able to manipulate the file but through STREAM, and no other program is able to see it. Once STREAM is closed the temporary file blocks are automatically relinquished by the operating system. This works at least on Unix filesystems. I don’t know about MS-OSs where the system may likely decide to crash, take all your data with it and, in the meanwhile, report you to the NSA as terrorist.

Package

sclf

Source

sclf.lisp (file)

Macro: with-lock-files (LOCK-FILES &rest LOCK-ARGS) &body BODY

Execute BODY after creating LOCK-FILES. Remove the lock files on exit. LOCK-ARGS are passed to MAKE-LOCK-FILES.

Package

sclf

Source

sclf.lisp (file)

Macro: with-lock-held (PLACE &key STATE WAIT TIMEOUT) &body BODY
Package

sclf

Source

sbcl.lisp (file)

Macro: with-open-pipe (IN OUT PROGRAM ARGUMENTS &key PROCESS ERROR PTY) &body FORMS

Run BODY with IN and OUT bound respectively to an input and an output stream connected to a system process created by running PROGRAM with ARGUMENTS. If IN or OUT are NIL, then don’t create that stream.

Package

sclf

Source

sysproc.lisp (file)

Macro: with-package NAME &body BODY
Package

sclf

Source

sclf.lisp (file)

Macro: with-recursive-lock-held (PLACE &optional STATE WAIT TIMEOUT) &body BODY
Package

sclf

Source

sbcl.lisp (file)

Macro: with-system-environment (&rest VAR-AND-VALUES) &body BODY
Package

sclf

Source

sclf.lisp (file)

Macro: with-temp-directory (PATH &rest MAKE-TEMP-DIRECTORY-ARGS) &body BODY

Execute BODY with PATH bound to the pathname of a new unique temporary directory. On exit of BODY the directory tree starting from PATH will be automatically removed from the filesystem. Return what BODY returns. BODY is _not_ executed within the PATH directory; the working directory is never changed.

Package

sclf

Source

directory.lisp (file)

Macro: with-temp-file (STREAM &rest OPEN-TEMP-ARGS) &body BODY

Execute BODY within a dynamic extent where STREAM is bound to a STREAM open on a unique temporary file name. OPEN-TEMP-ARGS are passed verbatim to OPEN-TEMP-FILE.

Package

sclf

Source

sclf.lisp (file)

Macro: without-scheduling &body BODY
Package

sclf

Source

sbcl.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Functions

Function: add-days DAYS EPOCH

Add DAYS to EPOCH, which is an universal time. DAYS can be negative.

Package

sclf

Source

time.lisp (file)

Function: add-months MONTHS EPOCH &optional TIME-ZONE

Add MONTHS to EPOCH, which is a universal time. MONTHS can be negative.

Package

sclf

Source

time.lisp (file)

Function: alist->plist ALIST

Convert an association list into a property list. The alist elements are assumed to be lists of just two elements: the key and the value. If the element list is longer this function doesn’t work.

Package

sclf

Source

sclf.lisp (file)

Function: all-processes ()
Package

sclf

Source

sbcl.lisp (file)

Function: beginning-of-first-week YEAR &optional TIME-ZONE

Return the epoch of the first week of YEAR. As the first week of the year needs to have Thursday in this YEAR, the returned time can actually fall in the previous year.

Package

sclf

Source

time.lisp (file)

Function: beginning-of-month MONTH YEAR &optional TIME-ZONE
Package

sclf

Source

time.lisp (file)

Function: beginning-of-week WEEK YEAR &optional TIME-ZONE

Return the epoch of the beginning of WEEK of YEAR.

Package

sclf

Source

time.lisp (file)

Function: broken-link-p PATHNAME
Package

sclf

Source

directory.lisp (file)

Function: byte-vector->string VECTOR &key START END

Convert a vector of (unsigned-byte 8) elements into a string of characters.

Package

sclf

Source

sclf.lisp (file)

Function: bytes-simple-string N &optional IMPLY-BYTES

Return a string describing N using a unit of measure multiple of a byte that is most apporpriate for the magnitude of N. A kilobyte is 1024 not 1000 bytes, everything follows.

Package

sclf

Source

sclf.lisp (file)

Function: ceiling-to X AIM

Round X up to the nearest multiple of AIM.

Package

sclf

Source

sclf.lisp (file)

Function: circular-list &rest ELEMENTS

Return a circular list of ELEMENTS.

Package

sclf

Source

sclf.lisp (file)

Function: condition-notify CV
Package

sclf

Source

sbcl.lisp (file)

Function: condition-wait CV LOCK &optional TIMEOUT
Package

sclf

Source

sbcl.lisp (file)

Function: cons-dle VALUE PREVIOUS NEXT
Package

sclf

Source

sclf.lisp (file)

Function: copy-file FILE COPY-FILE &key IF-EXISTS
Package

sclf

Source

sclf.lisp (file)

Function: copy-stream IN OUT
Package

sclf

Source

sclf.lisp (file)

Function: current-directory ()

Return the pathname of the current directory.

Package

sclf

Source

directory.lisp (file)

Function: current-process ()
Package

sclf

Source

sbcl.lisp (file)

Function: d+ PATH &rest REST

Concatenate directory pathname parts and return a pathname.

Package

sclf

Source

directory.lisp (file)

Function: day EPOCH &optional TIME-ZONE

Return the day of EPOCH.

Package

sclf

Source

time.lisp (file)

Function: day-of-the-year TIME &optional TIME-ZONE

Return the day within the year of TIME starting from 1 up to 365 (or 366).

Package

sclf

Source

time.lisp (file)

Function: delete-directory PATHNAME

Remove directory PATHNAME. Return PATHNAME.

Package

sclf

Source

directory.lisp (file)

Function: delete-directory-tree PATHNAME

Recursively delete PATHNAME and all the directory structure below it.

WARNING: depending on the way the DIRECTORY function is implemented on your Lisp system this function may follow Unix symbolic links and thus delete files outside the PATHNAME hierarchy. Check this before using this function in your programs.

Package

sclf

Source

directory.lisp (file)

Function: destroy-process PROCESS
Package

sclf

Source

sbcl.lisp (file)

Function: directory-p PATHNAME

Return true if PATHNAME names a directory on the filesystem.

Package

sclf

Source

directory.lisp (file)

Function: disable-process PROCESS
Package

sclf

Source

sbcl.lisp (file)

Function: dle-map FUNCTION DLE-OBJECT
Package

sclf

Source

sclf.lisp (file)

Function: dle-next INSTANCE
Function: (setf dle-next) VALUE INSTANCE
Package

sclf

Source

sclf.lisp (file)

Function: dle-previous INSTANCE
Function: (setf dle-previous) VALUE INSTANCE
Package

sclf

Source

sclf.lisp (file)

Function: dle-remove DLE-OBJECT

Remove the DLE-OBJECT from its current position in the list of elements agjusting the pointer of dle-objects before and after this one (if any).

Package

sclf

Source

sclf.lisp (file)

Function: dle-value INSTANCE
Function: (setf dle-value) VALUE INSTANCE
Package

sclf

Source

sclf.lisp (file)

Function: double-linked-element-p OBJECT
Package

sclf

Source

sclf.lisp (file)

Function: empty-directory-p PATHNAME
Package

sclf

Source

directory.lisp (file)

Function: enable-process PROCESS
Package

sclf

Source

sbcl.lisp (file)

Function: end-of-last-week YEAR &optional TIME-ZONE

Return the epoch of the last week of YEAR. As the last week of the year needs to have Thursday in this YEAR, the returned time can fall in the next year.

Package

sclf

Source

time.lisp (file)

Function: end-of-month MONTH YEAR &optional TIME-ZONE
Package

sclf

Source

time.lisp (file)

Function: end-of-week WEEK YEAR &optional TIME-ZONE

Return the epoch of the beginning of WEEK of YEAR.

Package

sclf

Source

time.lisp (file)

Function: ensure-directory PATHNAME &key VERBOSE MODE

Just like ENSURE-DIRECTORIES-EXIST but, in some situations, it’s faster.

Package

sclf

Source

directory.lisp (file)

Function: ensure-home-translations ()

Ensure that the logical pathname translations for the host "home" are defined.

Package

sclf

Source

directory.lisp (file)

Function: exit-code PROCESS
Package

sclf

Source

sysproc.lisp (file)

Function: file-creation-time FILE

Return the creation time of FILE as Lisp Universal Time, which is not the same as the Unix time.

Package

sclf

Source

directory.lisp (file)

Function: file-executable-p PATHNAME
Package

sclf

Source

directory.lisp (file)

Function: file-modification-time FILE

Return the modification time of FILE as Lisp Universal Time, which is not the same as the Unix time.

Package

sclf

Source

directory.lisp (file)

Function: file-readable-p PATHNAME
Package

sclf

Source

directory.lisp (file)

Function: file-size PATHNAME
Package

sclf

Source

directory.lisp (file)

Function: file-writable-p PATHNAME
Package

sclf

Source

directory.lisp (file)

Function: find-any BAG SEQUENCE &rest FIND-ARGS

Find any element of bag in sequence. Accept any argument accepted by the FIND function.

Package

sclf

Source

sclf.lisp (file)

Function: find-files ROOT-PATHNAME MATCHER-FUNCTION &key TRUENAMEP

In the directory tree rooted at ROOT-PATHNAME, find files that when the pathname is applied to MATCHER-FUNCTION will return true. Return the list of files found. Unless TRUENAMEP is true this function doesn’t try to lookup the truename of
files. Finding the truename may be a superfluous and noxious activity expecially when you expect broken symbolic links in your filesystem. (This may not apply to your particular lisp system.)

Package

sclf

Source

directory.lisp (file)

Function: find-uid NAME

Find the user id of NAME. Return an integer.

Package

sclf

Source

sclf.lisp (file)

Function: floor-to X AIM

Round X down to the nearest multiple of AIM.

Package

sclf

Source

sclf.lisp (file)

Function: force PROMISE
Package

sclf

Source

lazy.lisp (file)

Function: forced-p PROMISE
Package

sclf

Source

lazy.lisp (file)

Function: forget-documentation PACKAGES

Remove documentation from all known symbols in PACKAGES. If PACKAGES is NIL remove documentations from all packages. This may not make sense if your Lisp image has been built so that existing objects don’t get garbage collected. It may work for your own code, though. Locked packages are left alone. If you need to do those too, unlock them first.

Package

sclf

Source

sclf.lisp (file)

Function: format-amount ()

Return a string formatted as fixed decimal point number of DECIMALS adding commas every COMMA-STANCE places before the decimal point.

Package

sclf

Source

sclf.lisp (file)

Function: full-weeks-in-span START END &optional TIME-ZONE

Return the number of full weeks in time span START to END. A full week starts on Monday and ends on Sunday.

Package

sclf

Source

time.lisp (file)

Function: get-logname &optional UID

Return the login id of the user. This is a string and it is not the Unix uid, which is a number.

Package

sclf

Source

sclf.lisp (file)

Function: get-unix-time ()
Package

sclf

Source

time.lisp (file)

Function: get-user-home &optional UID
Package

sclf

Source

sclf.lisp (file)

Function: get-user-name &optional UID

Return the user name, taken from the GCOS field of the /etc/passwd file.

Package

sclf

Source

sclf.lisp (file)

Function: getenv VAR

Return the string associate to VAR in the system environment.

Package

sclf

Source

sclf.lisp (file)

Writer

(setf getenv) (function)

Function: (setf getenv) VALUE NAME
Package

sclf

Source

sclf.lisp (file)

Reader

getenv (function)

Function: getpid ()
Package

sclf

Source

sclf.lisp (file)

Function: getuid ()

Return the Unix user id. This is an integer.

Package

sclf

Source

sclf.lisp (file)

Function: glob->regex STRING

Convert a shell glob expression into a regular expression string.

Package

sclf

Source

sclf.lisp (file)

Function: hour EPOCH &optional TIME-ZONE

Return the hour of EPOCH.

Package

sclf

Source

time.lisp (file)

Function: insert-in-order ITEM SEQ &key TEST KEY

Destructively insert ITEM in LIST in order by TEST. Return the new list. This is a simple wrapper around MERGE.

Package

sclf

Source

sclf.lisp (file)

Function: iso-time-string TIME &key TIME-ZONE WITH-TIMEZONE-P BASIC

Return an ISO 8601 string representing TIME. The time zone is included if WITH-TIMEZONE-P is true.

Package

sclf

Source

time.lisp (file)

Function: keywordify STRING
Package

sclf

Source

sclf.lisp (file)

Function: last-day-of-month MONTH YEAR

Return the last day of the month as integer.

Package

sclf

Source

time.lisp (file)

Function: last-member ITEM LIST &key KEY TEST

Return the last sublist in LIST that is prefixed by ITEM.

Package

sclf

Source

sclf.lisp (file)

Function: leap-year-p YEAR

Return true if YEAR is a leap year.

Package

sclf

Source

time.lisp (file)

Function: list->string LIST

Coerce a list of characters into a string.

Package

sclf

Source

sclf.lisp (file)

Function: list-directory PATHNAME &key TRUENAMEP

List content of directory PATHNAME. If TRUENAMEP is true don’t try to follow symbolic links.

Package

sclf

Source

directory.lisp (file)

Function: load-compiled PATHNAME &optional COMPILED-PATHNAME

Make sure to compile PATHNAME before loading it. Don’t compile if the compiled version is more recent than its source.

Package

sclf

Source

sclf.lisp (file)

Function: locate-system-program NAME

Given the NAME of a system program try to find it through the search of the environment variable PATH. Return the full pathname.

Package

sclf

Source

sclf.lisp (file)

Function: make-condition-variable ()
Package

sclf

Source

sbcl.lisp (file)

Function: make-directory PATHNAME &optional MODE

Create a new directory in the filesystem. Permissions MODE will be assigned to it. Return PATHNAME.

Package

sclf

Source

directory.lisp (file)

Function: make-double-linked-element &key (PREVIOUS PREVIOUS) (VALUE VALUE) (NEXT NEXT)
Package

sclf

Source

sclf.lisp (file)

Function: make-lock &optional NAME
Package

sclf

Source

sbcl.lisp (file)

Function: make-lock-files PATHNAMES &key SLEEP-TIME RETRIES SUSPEND EXPIRATION

Create semaphore files. If it can’t create all the specified files in the specified order, it waits SLEEP-TIME seconds and retries the last file that didn’t succeed. You can specify the number of RETRIES to do until failure is returned. If the number of retries is NIL this function will retry forever.

If it tries RETRIES times without success, this function signal an error and removes all the lock files it created until then.

All files created by lock file will be read-only.

If you specify a EXPIRATION then an existing lock file will be removed by force after EXPIRATION seconds have passed since the lock file was last modified/created (most likely by some other program that unexpectedly died without cleaning up its lock files). After a lock file has been removed by force, a suspension of SUSPEND seconds is taken into account, in order to prevent the inadvertent immediate removal of any newly created lock file by another program.

Package

sclf

Source

sclf.lisp (file)

Function: make-process FUNCTION &key NAME
Package

sclf

Source

sbcl.lisp (file)

Function: make-queue &key (FIRST FIRST) (LAST LAST)
Package

sclf

Source

sclf.lisp (file)

Function: make-recursive-lock &optional NAME
Package

sclf

Source

sbcl.lisp (file)

Function: make-temp-directory &optional DEFAULT-PATHNAME MODE

Create a new directory and return its pathname.
If DEFAULT-PATHNAME is specified and not NIL it’s used as defaults to produce the pathname of the directory. Return the pathname of the temporary directory.

Package

sclf

Source

directory.lisp (file)

Function: map-directory-tree PATHNAME FUNCTION

Apply FUNCTION to every file in a directory tree starting from PATHNAME. Return the list of results.

Package

sclf

Source

directory.lisp (file)

Function: minute EPOCH &optional TIME-ZONE

Return the minute of EPOCH.

Package

sclf

Source

time.lisp (file)

Function: month EPOCH &optional TIME-ZONE

Return the month of EPOCH.

Package

sclf

Source

time.lisp (file)

Function: month->string MONTH

Return the month string corresponding to MONTH number.

Package

sclf

Source

time.lisp (file)

Function: month-string->number MONTH
Package

sclf

Source

time.lisp (file)

Function: move-file OLD NEW

Just like RENAME-FILE, but doesn’t carry on to NEW file the type of OLD file, if NEW doesn’t specify one. It does what most people would expect from a rename function, which RENAME-FILE doesn’t do.
So (MOVE-FILE "foo.bar" "foo") does rename foo.bar to foo, losing the "bar" type; RENAME-FILE wouldn’t allow you that.

Package

sclf

Source

directory.lisp (file)

Function: native-file-namestring PATHNAME
Package

sclf

Source

directory.lisp (file)

Function: native-namestring PATHNAME
Package

sclf

Source

directory.lisp (file)

Function: native-pathname THING
Package

sclf

Source

directory.lisp (file)

Function: next-monday EPOCH &optional TIME-ZONE

Return the universal time of the next Monday starting from EPOCH.

Package

sclf

Source

time.lisp (file)

Function: next-week-day EPOCH WEEK-DAY &optional TIME-ZONE

Return the universal time of the next WEEK-DAY starting from epoch.

Package

sclf

Source

time.lisp (file)

Function: not-empty SEQUENCE

Return SEQUENCE if it’s not empty, otherwise NIL. NIL is indeed empty.

Package

sclf

Source

sclf.lisp (file)

Function: open-temp-file &optional DEFAULT-PATHNAME &rest OPEN-ARGS

Open a new temporary file and return a stream to it. This function makes sure the pathname of the temporary file is unique. OPEN-ARGS are arguments passed verbatim to OPEN. If OPEN-ARGS specify
the :DIRECTION it should be either :OUTPUT (default) or :IO;
any other value causes an error. If DEFAULT-PATHNAME is specified and not NIL it’s used as defaults to produce the pathname of the temporary file, otherwise *TMP-FILE-DEFAULTS* is used.

Package

sclf

Source

sclf.lisp (file)

Function: outdated-p FILE DEPENDENCIES

Check if FILE has been modified before any of its DEPENDENCIES.

Package

sclf

Source

sclf.lisp (file)

Function: parse-amount STRING &key START END

Parse STRING as if it was formatted with FORMAT-AMOUNT and return the parsed number. Return NIL if STRING is malformed. Leading or trailing spaces must be removed from the string in advance.

Package

sclf

Source

sclf.lisp (file)

Function: parse-iso-time-string TIME-STRING

Parse an ISO 8601 formated string and return the universal time. It can parse the basic and the extended format, but may not be able to cover all the cases.

Package

sclf

Source

time.lisp (file)

Function: parse-native-namestring STRING &optional HOST DEFAULTS &key START END JUNK-ALLOWED
Package

sclf

Source

directory.lisp (file)

Function: pathname-as-directory PATHNAME

Converts PATHNAME to directory form and return it.

Package

sclf

Source

directory.lisp (file)

Function: pathname-as-file PATHNAME

Converts PATHNAME to file form and return it.

Package

sclf

Source

sclf.lisp (file)

Function: plist->alist PLIST &optional PAIRS-P

Convert a property list into an association list. The alist elements wiil be lists of just two elements: the key and the value. If PAIRS-P is true the alist elements will be pairs.

Package

sclf

Source

sclf.lisp (file)

Function: position-any BAG SEQUENCE &rest POSITION-ARGS

Find any element of bag in sequence and return its position. Accept any argument accepted by the POSITION function.

Package

sclf

Source

sclf.lisp (file)

Function: print-time-span SPAN &optional STREAM

Print in English the time SPAN expressed in seconds.

Package

sclf

Source

time.lisp (file)

Function: process-alive-p PROCESS
Package

sclf

Source

sbcl.lisp (file)

Function: process-execute PROCESS FUNCTION
Package

sclf

Source

sbcl.lisp (file)

Function: process-interrupt PROCESS FUNCTION
Package

sclf

Source

sbcl.lisp (file)

Function: process-join PROCESS
Package

sclf

Source

sbcl.lisp (file)

Function: process-name INSTANCE
Function: (setf process-name) VALUE INSTANCE
Package

sclf

Source

sbcl.lisp (file)

Function: process-property-list PROCESS
Function: (setf process-property-list) VALUE PROCESS
Package

sclf

Source

sbcl.lisp (file)

Function: process-state INSTANCE
Function: (setf process-state) VALUE INSTANCE
Package

sclf

Source

sbcl.lisp (file)

Function: process-wait REASON PREDICATE
Package

sclf

Source

sbcl.lisp (file)

Function: process-wait-with-timeout REASON TIMEOUT PREDICATE
Package

sclf

Source

sbcl.lisp (file)

Function: process-whostate INSTANCE
Function: (setf process-whostate) VALUE INSTANCE
Package

sclf

Source

sbcl.lisp (file)

Function: process-yield ()
Package

sclf

Source

sbcl.lisp (file)

Function: processp OBJECT
Package

sclf

Source

sbcl.lisp (file)

Function: read-file PATHNAME &key ELEMENT-TYPE IF-DOES-NOT-EXIST DEFAULT

Read the whole content of file and return it as a sequence which can be a string, a vector of bytes, or whatever you specify as ELEMENT-TYPE.

Package

sclf

Source

sclf.lisp (file)

Function: read-from-file PATHNAME &key ON-ERROR DEFAULT

Similar to READ-FROM-STRING but for files. Read the first Lisp object in file and return it. If file does not exist or does not contain a readable Lisp object, ON-ERROR tells what to do. If ON-ERROR is :ERROR, an error is signalled. If ON-ERROR is :VALUE, DEFAULT is returned.

Package

sclf

Source

sclf.lisp (file)

Function: read-lines STREAM &optional N

Read N lines from stream and return them as a list of strings. If N is NIL, read the whole stream til the end. If the stream ends before N lines a read, this function will return those without signalling an error.

Package

sclf

Source

sclf.lisp (file)

Function: read-symbolic-link SYMLINK

Return the pathname the SYMLINK points to. That is, it’s contents.

Package

sclf

Source

directory.lisp (file)

Function: read-whole-stream STREAM

Read stream until the end and return it as a string.

Package

sclf

Source

sclf.lisp (file)

Function: regular-file-p PATHNAME

Return true if PATHNAME names a regular file on the filesystem.

Package

sclf

Source

directory.lisp (file)

Function: remove-empty-directories ROOT
Package

sclf

Source

directory.lisp (file)

Function: reset-lazy-slots OBJECT

Unbind all the lazy slots in OBJECT so that they will be re-evaluated next time their value is requested again.

Package

sclf

Source

lazy.lisp (file)

Function: restart-process P
Package

sclf

Source

sbcl.lisp (file)

Function: round-to X AIM

Round X to the nearest multiple of AIM.

Package

sclf

Source

sclf.lisp (file)

Function: run-async-shell-command FMT &rest ARGS

Run a Bourne Shell command asynchronously. Return a process object if provided by your Lisp implementation.

Package

sclf

Source

sysproc.lisp (file)

Function: run-pipe DIRECTION PROGRAM ARGUMENTS &key ERROR

Run PROGRAM with a list of ARGUMENTS and according to DIRECTION return the input and output streams and process object of that process.

Package

sclf

Source

sysproc.lisp (file)

Function: run-program PROGRAM ARGUMENTS &key WAIT PTY INPUT OUTPUT ERROR

Run PROGRAM with ARGUMENTS (a list) and return a process object.

Package

sclf

Source

sysproc.lisp (file)

Function: run-shell-command FMT &rest ARGS

Run a Bourne Shell command. Return the exit status of the command.

Package

sclf

Source

sysproc.lisp (file)

Function: s+ &rest STRINGS

Return a string which is made of the concatenation of STRINGS.

Package

sclf

Source

sclf.lisp (file)

Function: seq-whitespace-p SEQUENCE
Package

sclf

Source

sclf.lisp (file)

Function: setuid ID

Set the Unix real user id.

Package

sclf

Source

sclf.lisp (file)

Function: soundex WORD &optional KEY-LENGTH

Knuth’s Soundex algorithm. Returns a string representing the sound of a certain word (English). Different words will thus yield the same output string. To compare two string by the sound, simply do:

(string= (soundex str1) (soundex str2))

Examples:

(soundex "Knuth") => "K530"
(soundex "Kant") => "K530"
(soundex "Lloyd") => "L300"
(soundex "Ladd") => "L300"

Package

sclf

Source

sclf.lisp (file)

Function: split-at BAG SEQUENCE &key START KEY

Split SEQUENCE at occurence of any element from BAG. Contiguous occurences of elements from BAG are considered atomic; so no empty sequence is returned.

Package

sclf

Source

sclf.lisp (file)

Function: split-string-at-char STRING SEPARATOR &key ESCAPE SKIP-EMPTY

Split STRING at SEPARATORs and return a list of the substrings. If SKIP-EMPTY is true then filter out the empty substrings. If ESCAPE is not nil then split at SEPARATOR only if it’s not preceded by ESCAPE.

Package

sclf

Source

sclf.lisp (file)

Function: stat-atime INSTANCE
Function: (setf stat-atime) VALUE INSTANCE
Package

sclf

Source

directory.lisp (file)

Function: stat-blksize INSTANCE
Function: (setf stat-blksize) VALUE INSTANCE
Package

sclf

Source

directory.lisp (file)

Function: stat-blocks INSTANCE
Function: (setf stat-blocks) VALUE INSTANCE
Package

sclf

Source

directory.lisp (file)

Function: stat-ctime INSTANCE
Function: (setf stat-ctime) VALUE INSTANCE
Package

sclf

Source

directory.lisp (file)

Function: stat-device INSTANCE
Function: (setf stat-device) VALUE INSTANCE
Package

sclf

Source

directory.lisp (file)

Function: stat-gid INSTANCE
Function: (setf stat-gid) VALUE INSTANCE
Package

sclf

Source

directory.lisp (file)

Function: stat-inode INSTANCE
Function: (setf stat-inode) VALUE INSTANCE
Package

sclf

Source

directory.lisp (file)

Function: stat-links INSTANCE
Function: (setf stat-links) VALUE INSTANCE
Package

sclf

Source

directory.lisp (file)

Function: stat-mode INSTANCE
Function: (setf stat-mode) VALUE INSTANCE
Package

sclf

Source

directory.lisp (file)

Function: stat-modification-time STAT

Return the modification time of the STAT structure as Lisp Universal Time, which is not the same as the Unix time.

Package

sclf

Source

directory.lisp (file)

Function: stat-mtime INSTANCE
Function: (setf stat-mtime) VALUE INSTANCE
Package

sclf

Source

directory.lisp (file)

Function: stat-size INSTANCE
Function: (setf stat-size) VALUE INSTANCE
Package

sclf

Source

directory.lisp (file)

Function: stat-uid INSTANCE
Function: (setf stat-uid) VALUE INSTANCE
Package

sclf

Source

directory.lisp (file)

Function: string->byte-vector STRING &key START END

Convert a string of characters into a vector of (unsigned-byte 8) elements.

Package

sclf

Source

sclf.lisp (file)

Function: string-concat LIST &optional SEPARATOR

Concatenate the strings in LIST interposing SEPARATOR (default nothing) between them.

Package

sclf

Source

sclf.lisp (file)

Function: string-ends-with POSTFIX STRING &optional COMPARE

Return true if STRING’s last characters are the same as POSTFIX.

Package

sclf

Source

sclf.lisp (file)

Function: string-escape STRING CHARACTER &key ESCAPE-CHARACTER ESCAPE-ESCAPE

Prepend all occurences of CHARACTER in STRING with a ESCAPE-CHARACTER.

Package

sclf

Source

sclf.lisp (file)

Function: string-left-trim-whitespace STRING
Package

sclf

Source

sclf.lisp (file)

Function: string-right-trim-whitespace STRING
Package

sclf

Source

sclf.lisp (file)

Function: string-soundex= STRING1 STRING2
Package

sclf

Source

sclf.lisp (file)

Function: string-starts-with PREFIX STRING &optional COMPARE
Package

sclf

Source

sclf.lisp (file)

Function: string-substitute FROM TO SEQUENCE &key START END TEST

Replace in SEQUENCE occurrences of FROM with TO. FROM and TO don’t need to be the same length.

Package

sclf

Source

sclf.lisp (file)

Function: string-trim-whitespace STRING
Package

sclf

Source

sclf.lisp (file)

Function: string-truncate STRING MAX-LENGTH

If STRING is longer than MAX-LENGTH, return a shorter version. Otherwise return the same string unchanged.

Package

sclf

Source

sclf.lisp (file)

Function: super-user-p &optional ID

Return true if the user ID is zero. ID defaults to the current user id.

Package

sclf

Source

sclf.lisp (file)

Function: symbolic-link-p PATHNAME
Package

sclf

Source

directory.lisp (file)

Function: symlink-file SRC DST &key IF-EXISTS
Package

sclf

Source

sclf.lisp (file)

Function: sysproc-alive-p PROCESS
Package

sclf

Source

sysproc.lisp (file)

Function: sysproc-exit-code PROCESS
Package

sclf

Source

sysproc.lisp (file)

Function: sysproc-input PROCESS
Package

sclf

Source

sysproc.lisp (file)

Function: sysproc-kill PROCESS SIGNAL
Package

sclf

Source

sysproc.lisp (file)

Function: sysproc-output PROCESS
Package

sclf

Source

sysproc.lisp (file)

Function: sysproc-p THING
Package

sclf

Source

sysproc.lisp (file)

Function: sysproc-pid PROCESS
Package

sclf

Source

sysproc.lisp (file)

Function: sysproc-set-signal-callback SIGNAL HANDLER

Arrange HANDLER function to be called when receiving the system signal SIGNAL.

Package

sclf

Source

sysproc.lisp (file)

Function: sysproc-wait PROCESS
Package

sclf

Source

sysproc.lisp (file)

Function: temp-file-name &optional DEFAULT

Create a random pathname based on DEFAULT. No effort is made to make sure that the returned pathname doesn’t identify an already existing file. If missing DEFAULT defaults to *TMP-FILE-DEFAULTS*.

Package

sclf

Source

sclf.lisp (file)

Function: time-string TIME &optional TIME-ZONE

Return a string representing TIME in the form: Tue Jan 25 12:55:40 2005

Package

sclf

Source

time.lisp (file)

Function: traverse-directory-tree ROOT-PATHNAME PROC &key TRUENAMEP TEST DEPTH-FIRST

Call PROC on all pathnames under ROOT-PATHNAME, both files and directories. Unless TRUENAMEP is true, this function doesn’t try to lookup the truename of files, as finding the truename may be a superfluous and noxious activity expecially when you expect broken symbolic links in your filesystem.

Package

sclf

Source

directory.lisp (file)

Function: universal->unix-time TIME
Package

sclf

Source

time.lisp (file)

Function: unix->universal-time TIME
Package

sclf

Source

time.lisp (file)

Function: unix-stat PATHNAME
Package

sclf

Source

directory.lisp (file)

Function: week TIME &optional TIME-ZONE

Return the number of the week and the year TIME referes to. Week is an integer from 1 to 52. Due to the way the first week of the year is calculated a day in one year could actually be in the last week of the previous or next year.

Package

sclf

Source

time.lisp (file)

Function: week-day EPOCH &optional TIME-ZONE

Return the day of the week of EPOCH.

Package

sclf

Source

time.lisp (file)

Function: week-day->string DAY &optional SUNDAY-FIRST

Return the weekday string corresponding to DAY number.

Package

sclf

Source

time.lisp (file)

Function: whitespace-p CHAR
Package

sclf

Source

sclf.lisp (file)

Function: write-file PATHNAME CONTENTS &key IF-EXISTS

Read the whole content of file and return it as a sequence which can be a string, a vector of bytes, or whatever you specify as ELEMENT-TYPE.

Package

sclf

Source

sclf.lisp (file)

Function: write-to-file OBJECT PATHNAME &key IF-EXISTS PRETTY

Similar to WRITE-TO-STRING but for files. Write OBJECT to a file with pathname PATHNAME.

Package

sclf

Source

sclf.lisp (file)

Function: year EPOCH &optional TIME-ZONE

Return the year of EPOCH.

Package

sclf

Source

time.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Generic functions

Generic Function: dll-find OBJECT DLL &key TEST KEY
Package

sclf

Source

sclf.lisp (file)

Methods
Method: dll-find OBJECT (LIST double-linked-list) &key TEST KEY
Generic Function: dll-find-cursor OBJECT DLL &key TEST KEY
Package

sclf

Source

sclf.lisp (file)

Methods
Method: dll-find-cursor OBJECT (LIST double-linked-list) &key TEST KEY
Generic Function: dll-remove CURSOR DLL
Package

sclf

Source

sclf.lisp (file)

Methods
Method: dll-remove (CURSOR double-linked-element) (LIST limited-list)
Method: dll-remove (CURSOR double-linked-element) (LIST double-linked-list)
Generic Function: getcache KEY CACHE

Get an item with KEY from a CACHE.

Package

sclf

Source

sclf.lisp (file)

Writer

(setf getcache) (generic function)

Methods
Method: getcache KEY (CACHE lru-cache)
Generic Function: (setf getcache) VALUE KEY CACHE

Set or add an item with KEY in a CACHE.

Package

sclf

Source

sclf.lisp (file)

Reader

getcache (generic function)

Methods
Method: (setf getcache) VALUE KEY (CACHE lru-cache)
Generic Function: heap-add HEAP ITEM
Package

sclf

Source

sclf.lisp (file)

Methods
Method: heap-add (HEAP heap) ITEM
Generic Function: heap-empty-p HEAP
Package

sclf

Source

sclf.lisp (file)

Methods
Method: heap-empty-p (HEAP heap)
Generic Function: heap-pop HEAP
Package

sclf

Source

sclf.lisp (file)

Methods
Method: heap-pop (HEAP heap)
Generic Function: insert ITEM SORTED-LIST

Insert an item in a sorted-list.

Package

sclf

Source

sclf.lisp (file)

Methods
Method: insert ITEM (SL sorted-list)

Insert ITEM in SL, which is a sorted double linked list, before the item for which TEST is true or at the end of the list. Returns two values, the modified list and the cursor to the new element.

Generic Function: pop-first DOUBLE-LINKED-LIST

Pop the first element of a double-linked-list.

Package

sclf

Source

sclf.lisp (file)

Methods
Method: pop-first (LIST limited-list)
Method: pop-first (LIST double-linked-list)

Drop the first element in the dl list.

Generic Function: pop-last DOUBLE-LINKED-LIST

Pop the last element of a double-linked-list.

Package

sclf

Source

sclf.lisp (file)

Methods
Method: pop-last (LIST limited-list)
Method: pop-last (LIST double-linked-list)

Drop the last element in the dl list.

Generic Function: push-first ITEM DOUBLE-LINKED-LIST

Push an item in front of a double-linked-list.

Package

sclf

Source

sclf.lisp (file)

Methods
Method: push-first VALUE (LIST limited-list)

Add in front of the list and drop the last element if list is full.

Method: push-first VALUE (LIST double-linked-list)
Generic Function: push-last ITEM DOUBLE-LINKED-LIST

Append an item to a double-linked-list.

Package

sclf

Source

sclf.lisp (file)

Methods
Method: push-last VALUE (LIST limited-list)

Add at the end of the list and drop the first element if list is full.

Method: push-last VALUE (LIST double-linked-list)
Generic Function: queue-append QUEUE OBJECTS
Package

sclf

Source

sclf.lisp (file)

Methods
Method: queue-append (QUEUE queue) OBJECT
Method: queue-append (QUEUE queue) (OBJECTS list)
Generic Function: queue-empty-p QUEUE
Package

sclf

Source

sclf.lisp (file)

Methods
Method: queue-empty-p (QUEUE queue)
Generic Function: queue-pop QUEUE
Package

sclf

Source

sclf.lisp (file)

Methods
Method: queue-pop (QUEUE queue)
Generic Function: size OBJECT
Package

sclf

Methods
Method: size (LRU-CACHE lru-cache)

Current number of elements in the cache.

Source

sclf.lisp (file)

Method: size (LIMITED-LIST limited-list)

Current number of elements in the list.

Source

sclf.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.5 Structures

Structure: double-linked-element ()
Package

sclf

Source

sclf.lisp (file)

Direct superclasses

structure-object (structure)

Direct subclasses

lru-cache-slot (structure)

Direct methods
Direct slots
Slot: previous
Type

(or sclf:double-linked-element null)

Readers

dle-previous (function)

Writers

(setf dle-previous) (function)

Slot: value
Readers

dle-value (function)

Writers

(setf dle-value) (function)

Slot: next
Type

(or sclf:double-linked-element null)

Readers

dle-next (function)

Writers

(setf dle-next) (function)

Structure: promise ()
Package

sclf

Source

lazy.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: procedure
Readers

promise-procedure (function)

Writers

(setf promise-procedure) (function)

Slot: value
Readers

promise-value (function)

Writers

(setf promise-value) (function)

Structure: queue ()
Package

sclf

Source

sclf.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods
Direct slots
Slot: first
Readers

queue-first (function)

Writers

(setf queue-first) (function)

Slot: last
Readers

queue-last (function)

Writers

(setf queue-last) (function)

Structure: unix-file-stat ()
Package

sclf

Source

directory.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: device
Readers

stat-device (function)

Writers

(setf stat-device) (function)

Slot: inode
Readers

stat-inode (function)

Writers

(setf stat-inode) (function)

Slot: links
Readers

stat-links (function)

Writers

(setf stat-links) (function)

Slot: atime
Readers

stat-atime (function)

Writers

(setf stat-atime) (function)

Slot: mtime
Readers

stat-mtime (function)

Writers

(setf stat-mtime) (function)

Slot: ctime
Readers

stat-ctime (function)

Writers

(setf stat-ctime) (function)

Slot: size
Readers

stat-size (function)

Writers

(setf stat-size) (function)

Slot: blksize
Readers

stat-blksize (function)

Writers

(setf stat-blksize) (function)

Slot: blocks
Readers

stat-blocks (function)

Writers

(setf stat-blocks) (function)

Slot: uid
Readers

stat-uid (function)

Writers

(setf stat-uid) (function)

Slot: gid
Readers

stat-gid (function)

Writers

(setf stat-gid) (function)

Slot: mode
Readers

stat-mode (function)

Writers

(setf stat-mode) (function)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.6 Classes

Class: double-linked-list ()

A double linked list where elements can be added or removed from either end.

Package

sclf

Source

sclf.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

limited-list (class)

Direct methods
Direct slots
Slot: elements

The actual list of elements held by this object.

Type

sclf:double-linked-element

Slot: last-element
Type

sclf:double-linked-element

Class: heap ()
Package

sclf

Source

sclf.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: less-than

The heap invariant.

Type

function

Initargs

:test

Slot: data

The heap tree representation.

Type

array

Class: lazy-metaclass ()

Metaclass for object having lazy slots. Lazy slots
should be specified with the :LAZY keyword which must be a function of one argument. If required this function will be called once to get the value to memoize in the slot. Lazy slots can also be set/read as any other.

Package

sclf

Source

lazy.lisp (file)

Direct superclasses

standard-class (class)

Direct methods
  • slot-value-using-class (method)
  • compute-effective-slot-definition-initargs (method)
  • effective-slot-definition-class (method)
  • direct-slot-definition-class (method)
  • validate-superclass (method)
  • validate-superclass (method)
Class: limited-list ()

A double linked list where the maximum number of elements can be limited.

Package

sclf

Source

sclf.lisp (file)

Direct superclasses

double-linked-list (class)

Direct subclasses

sorted-list (class)

Direct methods
Direct slots
Slot: max-size

Size limit to which the list is allowed to grow to. NIL = no limit.

Type

(or integer null)

Initargs

:size

Readers

max-size (generic function)

Slot: size

Current number of elements in the list.

Type

integer

Initform

0

Readers

size (generic function)

Class: lru-cache ()

An objects cache that keeps the elements used more often and drops those that are used less often. The usage is similar to an hash table. Elements are added to the list up to MAX-SIZE, then any new element will drop the less used one in the cache. Every time an element is set or retrieved it goes in front of a list. Those which get at the end of the list are dropped when more room is required.

Package

sclf

Source

sclf.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: max-size

Maximum number of elements that the cache can fit.

Type

(or integer null)

Initargs

:size

Initform

sclf::*default-cache-size*

Readers

max-size (generic function)

Slot: elements-list

The list of elements held by the cache.

Type

sclf::lru-cache-slot

Slot: elements-hash

The hash table of the elements held bye the cache.

Type

hash-table

Slot: last-element
Type

sclf::lru-cache-slot

Slot: size

Current number of elements in the cache.

Type

integer

Initform

0

Readers

size (generic function)

Slot: finalizer

Procedure to call when elements are dropped from cache.

Initargs

:finalizer

Class: printable-object-mixin ()
Package

sclf

Source

serial.lisp (file)

Direct superclasses

standard-object (class)

Direct methods

print-object (method)

Class: sorted-list ()

A double linked list where elements are inserted in a sorted order.

Package

sclf

Source

sclf.lisp (file)

Direct superclasses

limited-list (class)

Direct methods

insert (method)

Direct slots
Slot: test
Type

function

Initargs

:test


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Special variables

Special Variable: *all-processes*
Package

sclf

Source

sbcl.lisp (file)

Special Variable: *all-processes-lock*
Package

sclf

Source

sbcl.lisp (file)

Special Variable: *atomic-lock*
Package

sclf

Source

sbcl.lisp (file)

Special Variable: *current-process*
Package

sclf

Source

sbcl.lisp (file)

Special Variable: *default-cache-size*

Default size of a LRU cache if it’s not specified at instantiation time.

Package

sclf

Source

sclf.lisp (file)

Special Variable: *permanent-queue*
Package

sclf

Source

sbcl.lisp (file)

Special Variable: *process-plists*

Hash table mapping processes to a property list. This is used by PROCESS-PLIST.

Package

sclf

Source

sbcl.lisp (file)

Special Variable: +unix-lisp-time-difference+

Time difference between Unix epoch and Common Lisp epoch. The former is 1st January 1970, while the latter is the beginning of the XX century.

Package

sclf

Source

time.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Macros

Macro: get-mutex MUTEX &optional WAIT
Package

sclf

Source

sbcl.lisp (file)

Macro: reconstruct-object CLASS &rest ARGS
Package

sclf

Source

serial.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Functions

Function: %make-process &key (NAME NAME) (STATE STATE) (WHOSTATE WHOSTATE) (FUNCTION FUNCTION) (THREAD THREAD)
Package

sclf

Source

sbcl.lisp (file)

Function: add-to-cache SLOT CACHE
Package

sclf

Source

sclf.lisp (file)

Function: bits-set-p X BITS
Package

sclf

Source

directory.lisp (file)

Function: bubble-up HEAP POS
Package

sclf

Source

sclf.lisp (file)

Function: copy-double-linked-element INSTANCE
Package

sclf

Source

sclf.lisp (file)

Function: copy-lru-cache-slot INSTANCE
Package

sclf

Source

sclf.lisp (file)

Function: copy-process INSTANCE
Package

sclf

Source

sbcl.lisp (file)

Function: copy-promise INSTANCE
Package

sclf

Source

lazy.lisp (file)

Function: copy-queue INSTANCE
Package

sclf

Source

sclf.lisp (file)

Function: copy-unix-file-stat INSTANCE
Package

sclf

Source

directory.lisp (file)

Function: dll-member-p DLE LIST
Package

sclf

Source

sclf.lisp (file)

Function: drop-last-cache-element CACHE

Drop the last element in the list of the cache object.

Package

sclf

Source

sclf.lisp (file)

Function: lru-cache-slot-p OBJECT
Package

sclf

Source

sclf.lisp (file)

Function: lruc-slot-key INSTANCE
Function: (setf lruc-slot-key) VALUE INSTANCE
Package

sclf

Source

sclf.lisp (file)

Function: lruc-slot-next INSTANCE
Function: (setf lruc-slot-next) VALUE INSTANCE
Package

sclf

Source

sclf.lisp (file)

Function: lruc-slot-previous INSTANCE
Function: (setf lruc-slot-previous) VALUE INSTANCE
Package

sclf

Source

sclf.lisp (file)

Function: lruc-slot-value INSTANCE
Function: (setf lruc-slot-value) VALUE INSTANCE
Package

sclf

Source

sclf.lisp (file)

Function: make-lru-cache-slot &key (PREVIOUS PREVIOUS) (VALUE VALUE) (NEXT NEXT) (KEY KEY)
Package

sclf

Source

sclf.lisp (file)

Function: make-promise &key (PROCEDURE PROCEDURE) (VALUE VALUE)
Package

sclf

Source

lazy.lisp (file)

Function: make-unix-file-stat &key (DEVICE DEVICE) (INODE INODE) (LINKS LINKS) (ATIME ATIME) (MTIME MTIME) (CTIME CTIME) (SIZE SIZE) (BLKSIZE BLKSIZE) (BLOCKS BLOCKS) (UID UID) (GID GID) (MODE MODE)
Package

sclf

Source

directory.lisp (file)

Function: move-in-front-of-cache-list SLOT CACHE

Relocate slot to the front of the elements list in cache. This will stretch its lifespan in the cache.

Package

sclf

Source

sclf.lisp (file)

Function: package-locked-p PACKAGE
Package

sclf

Source

sclf.lisp (file)

Function: percolate-down HEAP POS
Package

sclf

Source

sclf.lisp (file)

Function: print-readable-instance OBJECT &optional STREAM
Package

sclf

Source

serial.lisp (file)

Function: process-function INSTANCE
Function: (setf process-function) VALUE INSTANCE
Package

sclf

Source

sbcl.lisp (file)

Function: process-kill-thread PROCESS
Package

sclf

Source

sbcl.lisp (file)

Function: process-thread INSTANCE
Function: (setf process-thread) VALUE INSTANCE
Package

sclf

Source

sbcl.lisp (file)

Function: promise-p OBJECT
Package

sclf

Source

lazy.lisp (file)

Function: promise-procedure INSTANCE
Function: (setf promise-procedure) VALUE INSTANCE
Package

sclf

Source

lazy.lisp (file)

Function: promise-value INSTANCE
Function: (setf promise-value) VALUE INSTANCE
Package

sclf

Source

lazy.lisp (file)

Function: queue-first INSTANCE
Function: (setf queue-first) VALUE INSTANCE
Package

sclf

Source

sclf.lisp (file)

Function: queue-last INSTANCE
Function: (setf queue-last) VALUE INSTANCE
Package

sclf

Source

sclf.lisp (file)

Function: queue-p OBJECT
Package

sclf

Source

sclf.lisp (file)

Function: seconds-from-beginning-of-the-year TIME &optional TIME-ZONE
Package

sclf

Source

time.lisp (file)

Function: setenv NAME VALUE &optional OVERWRITE
Package

sclf

Source

sclf.lisp (file)

Function: seteuid ID

Set the Unix effective user id.

Package

sclf

Source

sclf.lisp (file)

Function: signal-number SIGNAL-NAME
Package

sclf

Source

sysproc.lisp (file)

Function: stat-creation-time STAT

Return the creation time of the STAT structure as Lisp Universal Time, which is not the same as the Unix time.

Package

sclf

Source

directory.lisp (file)

Function: unix-file-stat-p OBJECT
Package

sclf

Source

directory.lisp (file)

Function: unsetenv NAME
Package

sclf

Source

sclf.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Generic functions

Generic Function: heap-size HEAP
Package

sclf

Source

sclf.lisp (file)

Methods
Method: heap-size (HEAP heap)
Generic Function: lazy-slot-function OBJECT
Package

sclf

Methods
Method: lazy-slot-function (LAZY-SLOT-MIXIN lazy-slot-mixin)

automatically generated reader method

Source

lazy.lisp (file)

Generic Function: list-map FUNCTION DOUBLE-LINKED-LIST

Map a function to a double-linked-list.

Package

sclf

Source

sclf.lisp (file)

Methods
Method: list-map FUNCTION (LIST double-linked-list)
Generic Function: max-size OBJECT
Package

sclf

Methods
Method: max-size (LRU-CACHE lru-cache)

Maximum number of elements that the cache can fit.

Source

sclf.lisp (file)

Method: max-size (LIMITED-LIST limited-list)

Size limit to which the list is allowed to grow to. NIL = no limit.

Source

sclf.lisp (file)

Generic Function: remcache KEY CACHE

Remove an item with KEY from a CACHE.

Package

sclf

Source

sclf.lisp (file)

Methods
Method: remcache KEY (CACHE lru-cache)

Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.5 Structures

Structure: lru-cache-slot ()
Package

sclf

Source

sclf.lisp (file)

Direct superclasses

double-linked-element (structure)

Direct methods

print-object (method)

Direct slots
Slot: key
Readers

lruc-slot-key (function)

Writers

(setf lruc-slot-key) (function)

Structure: process ()
Package

sclf

Source

sbcl.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: name
Readers

process-name (function)

Writers

(setf process-name) (function)

Slot: state
Readers

process-state (function)

Writers

(setf process-state) (function)

Slot: whostate
Readers

process-whostate (function)

Writers

(setf process-whostate) (function)

Slot: function
Readers

process-function (function)

Writers

(setf process-function) (function)

Slot: thread
Readers

process-thread (function)

Writers

(setf process-thread) (function)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.6 Classes

Class: lazy-direct-slot-definition ()
Package

sclf

Source

lazy.lisp (file)

Direct superclasses
Class: lazy-effective-slot-definition ()
Package

sclf

Source

lazy.lisp (file)

Direct superclasses
Class: lazy-slot-mixin ()

Slot for LAZY-METACLASS classes. Lazy slots must be declared with the argument :LAZY which must be a function accepting the object instance as argument.

Package

sclf

Source

lazy.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: lazy-function
Initargs

:lazy

Readers

lazy-slot-function (generic function)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   D   F   L   M   S  
Index Entry  Section

D
Doc File, sclf/mp/README: The sclf/mp/readme file
Doc File, sclf/README: The sclf/readme file

F
File, doc, sclf/mp/README: The sclf/mp/readme file
File, doc, sclf/README: The sclf/readme file
File, Lisp, sclf.asd: The sclf<dot>asd file
File, Lisp, sclf/directory.lisp: The sclf/directory<dot>lisp file
File, Lisp, sclf/lazy.lisp: The sclf/lazy<dot>lisp file
File, Lisp, sclf/mp/sbcl.lisp: The sclf/mp/sbcl<dot>lisp file
File, Lisp, sclf/package.lisp: The sclf/package<dot>lisp file
File, Lisp, sclf/sclf.lisp: The sclf/sclf<dot>lisp file
File, Lisp, sclf/serial.lisp: The sclf/serial<dot>lisp file
File, Lisp, sclf/sysproc.lisp: The sclf/sysproc<dot>lisp file
File, Lisp, sclf/time.lisp: The sclf/time<dot>lisp file

L
Lisp File, sclf.asd: The sclf<dot>asd file
Lisp File, sclf/directory.lisp: The sclf/directory<dot>lisp file
Lisp File, sclf/lazy.lisp: The sclf/lazy<dot>lisp file
Lisp File, sclf/mp/sbcl.lisp: The sclf/mp/sbcl<dot>lisp file
Lisp File, sclf/package.lisp: The sclf/package<dot>lisp file
Lisp File, sclf/sclf.lisp: The sclf/sclf<dot>lisp file
Lisp File, sclf/serial.lisp: The sclf/serial<dot>lisp file
Lisp File, sclf/sysproc.lisp: The sclf/sysproc<dot>lisp file
Lisp File, sclf/time.lisp: The sclf/time<dot>lisp file

M
Module, sclf/mp: The sclf/mp module

S
sclf.asd: The sclf<dot>asd file
sclf/directory.lisp: The sclf/directory<dot>lisp file
sclf/lazy.lisp: The sclf/lazy<dot>lisp file
sclf/mp: The sclf/mp module
sclf/mp/README: The sclf/mp/readme file
sclf/mp/sbcl.lisp: The sclf/mp/sbcl<dot>lisp file
sclf/package.lisp: The sclf/package<dot>lisp file
sclf/README: The sclf/readme file
sclf/sclf.lisp: The sclf/sclf<dot>lisp file
sclf/serial.lisp: The sclf/serial<dot>lisp file
sclf/sysproc.lisp: The sclf/sysproc<dot>lisp file
sclf/time.lisp: The sclf/time<dot>lisp file

Jump to:   D   F   L   M   S  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   K   L   M   N   O   P   Q   R   S   T   U   W   Y  
Index Entry  Section

%
%make-process: Internal functions

(
(setf dle-next): Exported functions
(setf dle-previous): Exported functions
(setf dle-value): Exported functions
(setf getcache): Exported generic functions
(setf getcache): Exported generic functions
(setf getenv): Exported functions
(setf lruc-slot-key): Internal functions
(setf lruc-slot-next): Internal functions
(setf lruc-slot-previous): Internal functions
(setf lruc-slot-value): Internal functions
(setf process-function): Internal functions
(setf process-name): Exported functions
(setf process-property-list): Exported functions
(setf process-state): Exported functions
(setf process-thread): Internal functions
(setf process-whostate): Exported functions
(setf promise-procedure): Internal functions
(setf promise-value): Internal functions
(setf queue-first): Internal functions
(setf queue-last): Internal functions
(setf stat-atime): Exported functions
(setf stat-blksize): Exported functions
(setf stat-blocks): Exported functions
(setf stat-ctime): Exported functions
(setf stat-device): Exported functions
(setf stat-gid): Exported functions
(setf stat-inode): Exported functions
(setf stat-links): Exported functions
(setf stat-mode): Exported functions
(setf stat-mtime): Exported functions
(setf stat-size): Exported functions
(setf stat-uid): Exported functions

A
aand: Exported macros
acase: Exported macros
acond: Exported macros
add-days: Exported functions
add-months: Exported functions
add-to-cache: Internal functions
aif: Exported macros
alist->plist: Exported functions
all-processes: Exported functions
atomic-decf: Exported macros
atomic-incf: Exported macros
awhen: Exported macros

B
be: Exported macros
be*: Exported macros
beginning-of-first-week: Exported functions
beginning-of-month: Exported functions
beginning-of-week: Exported functions
bits-set-p: Internal functions
broken-link-p: Exported functions
bubble-up: Internal functions
byte-vector->string: Exported functions
bytes-simple-string: Exported functions

C
cached: Exported macros
ceiling-to: Exported functions
circular-list: Exported functions
condition-notify: Exported functions
condition-wait: Exported functions
cons-dle: Exported functions
copy-double-linked-element: Internal functions
copy-file: Exported functions
copy-lru-cache-slot: Internal functions
copy-process: Internal functions
copy-promise: Internal functions
copy-queue: Internal functions
copy-stream: Exported functions
copy-unix-file-stat: Internal functions
current-directory: Exported functions
current-process: Exported functions

D
d+: Exported functions
day: Exported functions
day-of-the-year: Exported functions
defconst: Exported macros
deflazy: Exported macros
defun-memoized: Exported macros
delete-directory: Exported functions
delete-directory-tree: Exported functions
destroy-process: Exported functions
directory-p: Exported functions
disable-process: Exported functions
dle-map: Exported functions
dle-next: Exported functions
dle-previous: Exported functions
dle-remove: Exported functions
dle-value: Exported functions
dll-find: Exported generic functions
dll-find: Exported generic functions
dll-find-cursor: Exported generic functions
dll-find-cursor: Exported generic functions
dll-member-p: Internal functions
dll-remove: Exported generic functions
dll-remove: Exported generic functions
dll-remove: Exported generic functions
do-directory-tree: Exported macros
do-dle: Exported macros
do-dle*: Exported macros
do-dll: Exported macros
do-dll*: Exported macros
double-linked-element-p: Exported functions
drop-last-cache-element: Internal functions

E
empty-directory-p: Exported functions
enable-process: Exported functions
end-of-last-week: Exported functions
end-of-month: Exported functions
end-of-week: Exported functions
ensure-directory: Exported functions
ensure-home-translations: Exported functions
exit-code: Exported functions

F
f++: Exported macros
file-creation-time: Exported functions
file-executable-p: Exported functions
file-modification-time: Exported functions
file-readable-p: Exported functions
file-size: Exported functions
file-writable-p: Exported functions
find-any: Exported functions
find-files: Exported functions
find-uid: Exported functions
floor-to: Exported functions
force: Exported functions
forced-p: Exported functions
forget-documentation: Exported functions
format-amount: Exported functions
full-weeks-in-span: Exported functions
Function, %make-process: Internal functions
Function, (setf dle-next): Exported functions
Function, (setf dle-previous): Exported functions
Function, (setf dle-value): Exported functions
Function, (setf getenv): Exported functions
Function, (setf lruc-slot-key): Internal functions
Function, (setf lruc-slot-next): Internal functions
Function, (setf lruc-slot-previous): Internal functions
Function, (setf lruc-slot-value): Internal functions
Function, (setf process-function): Internal functions
Function, (setf process-name): Exported functions
Function, (setf process-property-list): Exported functions
Function, (setf process-state): Exported functions
Function, (setf process-thread): Internal functions
Function, (setf process-whostate): Exported functions
Function, (setf promise-procedure): Internal functions
Function, (setf promise-value): Internal functions
Function, (setf queue-first): Internal functions
Function, (setf queue-last): Internal functions
Function, (setf stat-atime): Exported functions
Function, (setf stat-blksize): Exported functions
Function, (setf stat-blocks): Exported functions
Function, (setf stat-ctime): Exported functions
Function, (setf stat-device): Exported functions
Function, (setf stat-gid): Exported functions
Function, (setf stat-inode): Exported functions
Function, (setf stat-links): Exported functions
Function, (setf stat-mode): Exported functions
Function, (setf stat-mtime): Exported functions
Function, (setf stat-size): Exported functions
Function, (setf stat-uid): Exported functions
Function, add-days: Exported functions
Function, add-months: Exported functions
Function, add-to-cache: Internal functions
Function, alist->plist: Exported functions
Function, all-processes: Exported functions
Function, beginning-of-first-week: Exported functions
Function, beginning-of-month: Exported functions
Function, beginning-of-week: Exported functions
Function, bits-set-p: Internal functions
Function, broken-link-p: Exported functions
Function, bubble-up: Internal functions
Function, byte-vector->string: Exported functions
Function, bytes-simple-string: Exported functions
Function, ceiling-to: Exported functions
Function, circular-list: Exported functions
Function, condition-notify: Exported functions
Function, condition-wait: Exported functions
Function, cons-dle: Exported functions
Function, copy-double-linked-element: Internal functions
Function, copy-file: Exported functions
Function, copy-lru-cache-slot: Internal functions
Function, copy-process: Internal functions
Function, copy-promise: Internal functions
Function, copy-queue: Internal functions
Function, copy-stream: Exported functions
Function, copy-unix-file-stat: Internal functions
Function, current-directory: Exported functions
Function, current-process: Exported functions
Function, d+: Exported functions
Function, day: Exported functions
Function, day-of-the-year: Exported functions
Function, delete-directory: Exported functions
Function, delete-directory-tree: Exported functions
Function, destroy-process: Exported functions
Function, directory-p: Exported functions
Function, disable-process: Exported functions
Function, dle-map: Exported functions
Function, dle-next: Exported functions
Function, dle-previous: Exported functions
Function, dle-remove: Exported functions
Function, dle-value: Exported functions
Function, dll-member-p: Internal functions
Function, double-linked-element-p: Exported functions
Function, drop-last-cache-element: Internal functions
Function, empty-directory-p: Exported functions
Function, enable-process: Exported functions
Function, end-of-last-week: Exported functions
Function, end-of-month: Exported functions
Function, end-of-week: Exported functions
Function, ensure-directory: Exported functions
Function, ensure-home-translations: Exported functions
Function, exit-code: Exported functions
Function, file-creation-time: Exported functions
Function, file-executable-p: Exported functions
Function, file-modification-time: Exported functions
Function, file-readable-p: Exported functions
Function, file-size: Exported functions
Function, file-writable-p: Exported functions
Function, find-any: Exported functions
Function, find-files: Exported functions
Function, find-uid: Exported functions
Function, floor-to: Exported functions
Function, force: Exported functions
Function, forced-p: Exported functions
Function, forget-documentation: Exported functions
Function, format-amount: Exported functions
Function, full-weeks-in-span: Exported functions
Function, get-logname: Exported functions
Function, get-unix-time: Exported functions
Function, get-user-home: Exported functions
Function, get-user-name: Exported functions
Function, getenv: Exported functions
Function, getpid: Exported functions
Function, getuid: Exported functions
Function, glob->regex: Exported functions
Function, hour: Exported functions
Function, insert-in-order: Exported functions
Function, iso-time-string: Exported functions
Function, keywordify: Exported functions
Function, last-day-of-month: Exported functions
Function, last-member: Exported functions
Function, leap-year-p: Exported functions
Function, list->string: Exported functions
Function, list-directory: Exported functions
Function, load-compiled: Exported functions
Function, locate-system-program: Exported functions
Function, lru-cache-slot-p: Internal functions
Function, lruc-slot-key: Internal functions
Function, lruc-slot-next: Internal functions
Function, lruc-slot-previous: Internal functions
Function, lruc-slot-value: Internal functions
Function, make-condition-variable: Exported functions
Function, make-directory: Exported functions
Function, make-double-linked-element: Exported functions
Function, make-lock: Exported functions
Function, make-lock-files: Exported functions
Function, make-lru-cache-slot: Internal functions
Function, make-process: Exported functions
Function, make-promise: Internal functions
Function, make-queue: Exported functions
Function, make-recursive-lock: Exported functions
Function, make-temp-directory: Exported functions
Function, make-unix-file-stat: Internal functions
Function, map-directory-tree: Exported functions
Function, minute: Exported functions
Function, month: Exported functions
Function, month->string: Exported functions
Function, month-string->number: Exported functions
Function, move-file: Exported functions
Function, move-in-front-of-cache-list: Internal functions
Function, native-file-namestring: Exported functions
Function, native-namestring: Exported functions
Function, native-pathname: Exported functions
Function, next-monday: Exported functions
Function, next-week-day: Exported functions
Function, not-empty: Exported functions
Function, open-temp-file: Exported functions
Function, outdated-p: Exported functions
Function, package-locked-p: Internal functions
Function, parse-amount: Exported functions
Function, parse-iso-time-string: Exported functions
Function, parse-native-namestring: Exported functions
Function, pathname-as-directory: Exported functions
Function, pathname-as-file: Exported functions
Function, percolate-down: Internal functions
Function, plist->alist: Exported functions
Function, position-any: Exported functions
Function, print-readable-instance: Internal functions
Function, print-time-span: Exported functions
Function, process-alive-p: Exported functions
Function, process-execute: Exported functions
Function, process-function: Internal functions
Function, process-interrupt: Exported functions
Function, process-join: Exported functions
Function, process-kill-thread: Internal functions
Function, process-name: Exported functions
Function, process-property-list: Exported functions
Function, process-state: Exported functions
Function, process-thread: Internal functions
Function, process-wait: Exported functions
Function, process-wait-with-timeout: Exported functions
Function, process-whostate: Exported functions
Function, process-yield: Exported functions
Function, processp: Exported functions
Function, promise-p: Internal functions
Function, promise-procedure: Internal functions
Function, promise-value: Internal functions
Function, queue-first: Internal functions
Function, queue-last: Internal functions
Function, queue-p: Internal functions
Function, read-file: Exported functions
Function, read-from-file: Exported functions
Function, read-lines: Exported functions
Function, read-symbolic-link: Exported functions
Function, read-whole-stream: Exported functions
Function, regular-file-p: Exported functions
Function, remove-empty-directories: Exported functions
Function, reset-lazy-slots: Exported functions
Function, restart-process: Exported functions
Function, round-to: Exported functions
Function, run-async-shell-command: Exported functions
Function, run-pipe: Exported functions
Function, run-program: Exported functions
Function, run-shell-command: Exported functions
Function, s+: Exported functions
Function, seconds-from-beginning-of-the-year: Internal functions
Function, seq-whitespace-p: Exported functions
Function, setenv: Internal functions
Function, seteuid: Internal functions
Function, setuid: Exported functions
Function, signal-number: Internal functions
Function, soundex: Exported functions
Function, split-at: Exported functions
Function, split-string-at-char: Exported functions
Function, stat-atime: Exported functions
Function, stat-blksize: Exported functions
Function, stat-blocks: Exported functions
Function, stat-creation-time: Internal functions
Function, stat-ctime: Exported functions
Function, stat-device: Exported functions
Function, stat-gid: Exported functions
Function, stat-inode: Exported functions
Function, stat-links: Exported functions
Function, stat-mode: Exported functions
Function, stat-modification-time: Exported functions
Function, stat-mtime: Exported functions
Function, stat-size: Exported functions
Function, stat-uid: Exported functions
Function, string->byte-vector: Exported functions
Function, string-concat: Exported functions
Function, string-ends-with: Exported functions
Function, string-escape: Exported functions
Function, string-left-trim-whitespace: Exported functions
Function, string-right-trim-whitespace: Exported functions
Function, string-soundex=: Exported functions
Function, string-starts-with: Exported functions
Function, string-substitute: Exported functions
Function, string-trim-whitespace: Exported functions
Function, string-truncate: Exported functions
Function, super-user-p: Exported functions
Function, symbolic-link-p: Exported functions
Function, symlink-file: Exported functions
Function, sysproc-alive-p: Exported functions
Function, sysproc-exit-code: Exported functions
Function, sysproc-input: Exported functions
Function, sysproc-kill: Exported functions
Function, sysproc-output: Exported functions
Function, sysproc-p: Exported functions
Function, sysproc-pid: Exported functions
Function, sysproc-set-signal-callback: Exported functions
Function, sysproc-wait: Exported functions
Function, temp-file-name: Exported functions
Function, time-string: Exported functions
Function, traverse-directory-tree: Exported functions
Function, universal->unix-time: Exported functions
Function, unix->universal-time: Exported functions
Function, unix-file-stat-p: Internal functions
Function, unix-stat: Exported functions
Function, unsetenv: Internal functions
Function, week: Exported functions
Function, week-day: Exported functions
Function, week-day->string: Exported functions
Function, whitespace-p: Exported functions
Function, write-file: Exported functions
Function, write-to-file: Exported functions
Function, year: Exported functions

G
gcase: Exported macros
Generic Function, (setf getcache): Exported generic functions
Generic Function, dll-find: Exported generic functions
Generic Function, dll-find-cursor: Exported generic functions
Generic Function, dll-remove: Exported generic functions
Generic Function, getcache: Exported generic functions
Generic Function, heap-add: Exported generic functions
Generic Function, heap-empty-p: Exported generic functions
Generic Function, heap-pop: Exported generic functions
Generic Function, heap-size: Internal generic functions
Generic Function, insert: Exported generic functions
Generic Function, lazy-slot-function: Internal generic functions
Generic Function, list-map: Internal generic functions
Generic Function, max-size: Internal generic functions
Generic Function, pop-first: Exported generic functions
Generic Function, pop-last: Exported generic functions
Generic Function, push-first: Exported generic functions
Generic Function, push-last: Exported generic functions
Generic Function, queue-append: Exported generic functions
Generic Function, queue-empty-p: Exported generic functions
Generic Function, queue-pop: Exported generic functions
Generic Function, remcache: Internal generic functions
Generic Function, size: Exported generic functions
get-logname: Exported functions
get-mutex: Internal macros
get-unix-time: Exported functions
get-user-home: Exported functions
get-user-name: Exported functions
getcache: Exported generic functions
getcache: Exported generic functions
getenv: Exported functions
getpid: Exported functions
getuid: Exported functions
glob->regex: Exported functions

H
heap-add: Exported generic functions
heap-add: Exported generic functions
heap-empty-p: Exported generic functions
heap-empty-p: Exported generic functions
heap-pop: Exported generic functions
heap-pop: Exported generic functions
heap-size: Internal generic functions
heap-size: Internal generic functions
hour: Exported functions

I
insert: Exported generic functions
insert: Exported generic functions
insert-in-order: Exported functions
iso-time-string: Exported functions

K
keywordify: Exported functions

L
last-day-of-month: Exported functions
last-member: Exported functions
lazy: Exported macros
lazy-slot-function: Internal generic functions
lazy-slot-function: Internal generic functions
leap-year-p: Exported functions
let-places: Exported macros
let-slots: Exported macros
list->string: Exported functions
list-directory: Exported functions
list-map: Internal generic functions
list-map: Internal generic functions
load-compiled: Exported functions
locate-system-program: Exported functions
lru-cache-slot-p: Internal functions
lruc-slot-key: Internal functions
lruc-slot-next: Internal functions
lruc-slot-previous: Internal functions
lruc-slot-value: Internal functions

M
Macro, aand: Exported macros
Macro, acase: Exported macros
Macro, acond: Exported macros
Macro, aif: Exported macros
Macro, atomic-decf: Exported macros
Macro, atomic-incf: Exported macros
Macro, awhen: Exported macros
Macro, be: Exported macros
Macro, be*: Exported macros
Macro, cached: Exported macros
Macro, defconst: Exported macros
Macro, deflazy: Exported macros
Macro, defun-memoized: Exported macros
Macro, do-directory-tree: Exported macros
Macro, do-dle: Exported macros
Macro, do-dle*: Exported macros
Macro, do-dll: Exported macros
Macro, do-dll*: Exported macros
Macro, f++: Exported macros
Macro, gcase: Exported macros
Macro, get-mutex: Internal macros
Macro, lazy: Exported macros
Macro, let-places: Exported macros
Macro, let-slots: Exported macros
Macro, memoize-function: Exported macros
Macro, memoized: Exported macros
Macro, on-error: Exported macros
Macro, reconstruct-object: Internal macros
Macro, save-file-excursion: Exported macros
Macro, show: Exported macros
Macro, swap: Exported macros
Macro, until: Exported macros
Macro, with-euid: Exported macros
Macro, with-gensyms: Exported macros
Macro, with-hidden-temp-file: Exported macros
Macro, with-lock-files: Exported macros
Macro, with-lock-held: Exported macros
Macro, with-open-pipe: Exported macros
Macro, with-package: Exported macros
Macro, with-recursive-lock-held: Exported macros
Macro, with-system-environment: Exported macros
Macro, with-temp-directory: Exported macros
Macro, with-temp-file: Exported macros
Macro, without-scheduling: Exported macros
make-condition-variable: Exported functions
make-directory: Exported functions
make-double-linked-element: Exported functions
make-lock: Exported functions
make-lock-files: Exported functions
make-lru-cache-slot: Internal functions
make-process: Exported functions
make-promise: Internal functions
make-queue: Exported functions
make-recursive-lock: Exported functions
make-temp-directory: Exported functions
make-unix-file-stat: Internal functions
map-directory-tree: Exported functions
max-size: Internal generic functions
max-size: Internal generic functions
max-size: Internal generic functions
memoize-function: Exported macros
memoized: Exported macros
Method, (setf getcache): Exported generic functions
Method, dll-find: Exported generic functions
Method, dll-find-cursor: Exported generic functions
Method, dll-remove: Exported generic functions
Method, dll-remove: Exported generic functions
Method, getcache: Exported generic functions
Method, heap-add: Exported generic functions
Method, heap-empty-p: Exported generic functions
Method, heap-pop: Exported generic functions
Method, heap-size: Internal generic functions
Method, insert: Exported generic functions
Method, lazy-slot-function: Internal generic functions
Method, list-map: Internal generic functions
Method, max-size: Internal generic functions
Method, max-size: Internal generic functions
Method, pop-first: Exported generic functions
Method, pop-first: Exported generic functions
Method, pop-last: Exported generic functions
Method, pop-last: Exported generic functions
Method, push-first: Exported generic functions
Method, push-first: Exported generic functions
Method, push-last: Exported generic functions
Method, push-last: Exported generic functions
Method, queue-append: Exported generic functions
Method, queue-append: Exported generic functions
Method, queue-empty-p: Exported generic functions
Method, queue-pop: Exported generic functions
Method, remcache: Internal generic functions
Method, size: Exported generic functions
Method, size: Exported generic functions
minute: Exported functions
month: Exported functions
month->string: Exported functions
month-string->number: Exported functions
move-file: Exported functions
move-in-front-of-cache-list: Internal functions

N
native-file-namestring: Exported functions
native-namestring: Exported functions
native-pathname: Exported functions
next-monday: Exported functions
next-week-day: Exported functions
not-empty: Exported functions

O
on-error: Exported macros
open-temp-file: Exported functions
outdated-p: Exported functions

P
package-locked-p: Internal functions
parse-amount: Exported functions
parse-iso-time-string: Exported functions
parse-native-namestring: Exported functions
pathname-as-directory: Exported functions
pathname-as-file: Exported functions
percolate-down: Internal functions
plist->alist: Exported functions
pop-first: Exported generic functions
pop-first: Exported generic functions
pop-first: Exported generic functions
pop-last: Exported generic functions
pop-last: Exported generic functions
pop-last: Exported generic functions
position-any: Exported functions
print-readable-instance: Internal functions
print-time-span: Exported functions
process-alive-p: Exported functions
process-execute: Exported functions
process-function: Internal functions
process-interrupt: Exported functions
process-join: Exported functions
process-kill-thread: Internal functions
process-name: Exported functions
process-property-list: Exported functions
process-state: Exported functions
process-thread: Internal functions
process-wait: Exported functions
process-wait-with-timeout: Exported functions
process-whostate: Exported functions
process-yield: Exported functions
processp: Exported functions
promise-p: Internal functions
promise-procedure: Internal functions
promise-value: Internal functions
push-first: Exported generic functions
push-first: Exported generic functions
push-first: Exported generic functions
push-last: Exported generic functions
push-last: Exported generic functions
push-last: Exported generic functions

Q
queue-append: Exported generic functions
queue-append: Exported generic functions
queue-append: Exported generic functions
queue-empty-p: Exported generic functions
queue-empty-p: Exported generic functions
queue-first: Internal functions
queue-last: Internal functions
queue-p: Internal functions
queue-pop: Exported generic functions
queue-pop: Exported generic functions

R
read-file: Exported functions
read-from-file: Exported functions
read-lines: Exported functions
read-symbolic-link: Exported functions
read-whole-stream: Exported functions
reconstruct-object: Internal macros
regular-file-p: Exported functions
remcache: Internal generic functions
remcache: Internal generic functions
remove-empty-directories: Exported functions
reset-lazy-slots: Exported functions
restart-process: Exported functions
round-to: Exported functions
run-async-shell-command: Exported functions
run-pipe: Exported functions
run-program: Exported functions
run-shell-command: Exported functions

S
s+: Exported functions
save-file-excursion: Exported macros
seconds-from-beginning-of-the-year: Internal functions
seq-whitespace-p: Exported functions
setenv: Internal functions
seteuid: Internal functions
setuid: Exported functions
show: Exported macros
signal-number: Internal functions
size: Exported generic functions
size: Exported generic functions
size: Exported generic functions
soundex: Exported functions
split-at: Exported functions
split-string-at-char: Exported functions
stat-atime: Exported functions
stat-blksize: Exported functions
stat-blocks: Exported functions
stat-creation-time: Internal functions
stat-ctime: Exported functions
stat-device: Exported functions
stat-gid: Exported functions
stat-inode: Exported functions
stat-links: Exported functions
stat-mode: Exported functions
stat-modification-time: Exported functions
stat-mtime: Exported functions
stat-size: Exported functions
stat-uid: Exported functions
string->byte-vector: Exported functions
string-concat: Exported functions
string-ends-with: Exported functions
string-escape: Exported functions
string-left-trim-whitespace: Exported functions
string-right-trim-whitespace: Exported functions
string-soundex=: Exported functions
string-starts-with: Exported functions
string-substitute: Exported functions
string-trim-whitespace: Exported functions
string-truncate: Exported functions
super-user-p: Exported functions
swap: Exported macros
symbolic-link-p: Exported functions
symlink-file: Exported functions
sysproc-alive-p: Exported functions
sysproc-exit-code: Exported functions
sysproc-input: Exported functions
sysproc-kill: Exported functions
sysproc-output: Exported functions
sysproc-p: Exported functions
sysproc-pid: Exported functions
sysproc-set-signal-callback: Exported functions
sysproc-wait: Exported functions

T
temp-file-name: Exported functions
time-string: Exported functions
traverse-directory-tree: Exported functions

U
universal->unix-time: Exported functions
unix->universal-time: Exported functions
unix-file-stat-p: Internal functions
unix-stat: Exported functions
unsetenv: Internal functions
until: Exported macros

W
week: Exported functions
week-day: Exported functions
week-day->string: Exported functions
whitespace-p: Exported functions
with-euid: Exported macros
with-gensyms: Exported macros
with-hidden-temp-file: Exported macros
with-lock-files: Exported macros
with-lock-held: Exported macros
with-open-pipe: Exported macros
with-package: Exported macros
with-recursive-lock-held: Exported macros
with-system-environment: Exported macros
with-temp-directory: Exported macros
with-temp-file: Exported macros
without-scheduling: Exported macros
write-file: Exported functions
write-to-file: Exported functions

Y
year: Exported functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   K   L   M   N   O   P   Q   R   S   T   U   W   Y  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *   +  
A   B   C   D   E   F   G   I   K   L   M   N   P   S   T   U   V   W  
Index Entry  Section

*
*all-processes*: Internal special variables
*all-processes-lock*: Internal special variables
*atomic-lock*: Internal special variables
*bourne-shell*: Exported special variables
*current-process*: Internal special variables
*decimal-point*: Exported special variables
*default-cache-size*: Internal special variables
*permanent-queue*: Internal special variables
*process-plists*: Internal special variables
*run-verbose*: Exported special variables
*thousands-comma*: Exported special variables
*tmp-file-defaults*: Exported special variables

+
+month-names+: Exported special variables
+unix-lisp-time-difference+: Internal special variables
+whitespace+: Exported special variables

A
atime: Exported structures

B
blksize: Exported structures
blocks: Exported structures

C
ctime: Exported structures

D
data: Exported classes
device: Exported structures

E
elements: Exported classes
elements-hash: Exported classes
elements-list: Exported classes

F
finalizer: Exported classes
first: Exported structures
function: Internal structures

G
gid: Exported structures

I
inode: Exported structures

K
key: Internal structures

L
last: Exported structures
last-element: Exported classes
last-element: Exported classes
lazy-function: Internal classes
less-than: Exported classes
links: Exported structures

M
max-size: Exported classes
max-size: Exported classes
mode: Exported structures
mtime: Exported structures

N
name: Internal structures
next: Exported structures

P
previous: Exported structures
procedure: Exported structures

S
size: Exported structures
size: Exported classes
size: Exported classes
Slot, atime: Exported structures
Slot, blksize: Exported structures
Slot, blocks: Exported structures
Slot, ctime: Exported structures
Slot, data: Exported classes
Slot, device: Exported structures
Slot, elements: Exported classes
Slot, elements-hash: Exported classes
Slot, elements-list: Exported classes
Slot, finalizer: Exported classes
Slot, first: Exported structures
Slot, function: Internal structures
Slot, gid: Exported structures
Slot, inode: Exported structures
Slot, key: Internal structures
Slot, last: Exported structures
Slot, last-element: Exported classes
Slot, last-element: Exported classes
Slot, lazy-function: Internal classes
Slot, less-than: Exported classes
Slot, links: Exported structures
Slot, max-size: Exported classes
Slot, max-size: Exported classes
Slot, mode: Exported structures
Slot, mtime: Exported structures
Slot, name: Internal structures
Slot, next: Exported structures
Slot, previous: Exported structures
Slot, procedure: Exported structures
Slot, size: Exported structures
Slot, size: Exported classes
Slot, size: Exported classes
Slot, state: Internal structures
Slot, test: Exported classes
Slot, thread: Internal structures
Slot, uid: Exported structures
Slot, value: Exported structures
Slot, value: Exported structures
Slot, whostate: Internal structures
Special Variable, *all-processes*: Internal special variables
Special Variable, *all-processes-lock*: Internal special variables
Special Variable, *atomic-lock*: Internal special variables
Special Variable, *bourne-shell*: Exported special variables
Special Variable, *current-process*: Internal special variables
Special Variable, *decimal-point*: Exported special variables
Special Variable, *default-cache-size*: Internal special variables
Special Variable, *permanent-queue*: Internal special variables
Special Variable, *process-plists*: Internal special variables
Special Variable, *run-verbose*: Exported special variables
Special Variable, *thousands-comma*: Exported special variables
Special Variable, *tmp-file-defaults*: Exported special variables
Special Variable, +month-names+: Exported special variables
Special Variable, +unix-lisp-time-difference+: Internal special variables
Special Variable, +whitespace+: Exported special variables
state: Internal structures

T
test: Exported classes
thread: Internal structures

U
uid: Exported structures

V
value: Exported structures
value: Exported structures

W
whostate: Internal structures

Jump to:   *   +  
A   B   C   D   E   F   G   I   K   L   M   N   P   S   T   U   V   W  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   D   H   L   P   Q   S   U  
Index Entry  Section

C
Class, double-linked-list: Exported classes
Class, heap: Exported classes
Class, lazy-direct-slot-definition: Internal classes
Class, lazy-effective-slot-definition: Internal classes
Class, lazy-metaclass: Exported classes
Class, lazy-slot-mixin: Internal classes
Class, limited-list: Exported classes
Class, lru-cache: Exported classes
Class, printable-object-mixin: Exported classes
Class, sorted-list: Exported classes

D
double-linked-element: Exported structures
double-linked-list: Exported classes

H
heap: Exported classes

L
lazy-direct-slot-definition: Internal classes
lazy-effective-slot-definition: Internal classes
lazy-metaclass: Exported classes
lazy-slot-mixin: Internal classes
limited-list: Exported classes
lru-cache: Exported classes
lru-cache-slot: Internal structures

P
Package, sclf: The sclf package
Package, sclf-system: The sclf-system package
printable-object-mixin: Exported classes
process: Internal structures
promise: Exported structures

Q
queue: Exported structures

S
sclf: The sclf system
sclf: The sclf package
sclf-system: The sclf-system package
sorted-list: Exported classes
Structure, double-linked-element: Exported structures
Structure, lru-cache-slot: Internal structures
Structure, process: Internal structures
Structure, promise: Exported structures
Structure, queue: Exported structures
Structure, unix-file-stat: Exported structures
System, sclf: The sclf system

U
unix-file-stat: Exported structures

Jump to:   C   D   H   L   P   Q   S   U