The ubiquitous Reference Manual

This is the ubiquitous Reference Manual, version 2.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:59:08 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 ubiquitous

A library providing a universal application configuration mechanism.

Maintainer

Yukari Hafner <>

Author

Yukari Hafner <>

Home Page

https://github.com/Shinmera/ubiquitous

License

zlib

Version

2.0.0

Source

ubiquitous.asd.

Child Components

3 Files

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


3.1 Lisp


3.1.1 ubiquitous/ubiquitous.asd

Source

ubiquitous.asd.

Parent Component

ubiquitous (system).

ASDF Systems

ubiquitous.


3.1.2 ubiquitous/package.lisp

Source

ubiquitous.asd.

Parent Component

ubiquitous (system).

Packages

ubiquitous.


3.1.3 ubiquitous/pathname.lisp

Dependency

package.lisp (file).

Source

ubiquitous.asd.

Parent Component

ubiquitous (system).

Public Interface
Internals

3.1.4 ubiquitous/accessor.lisp

Dependency

pathname.lisp (file).

Source

ubiquitous.asd.

Parent Component

ubiquitous (system).

Public Interface
Internals

*nothing* (special variable).


3.1.5 ubiquitous/metadata.lisp

Dependency

accessor.lisp (file).

Source

ubiquitous.asd.

Parent Component

ubiquitous (system).

Public Interface
Internals

3.1.6 ubiquitous/storage.lisp

Dependency

metadata.lisp (file).

Source

ubiquitous.asd.

Parent Component

ubiquitous (system).

Public Interface
Internals

3.1.7 ubiquitous/config.lisp

Dependency

storage.lisp (file).

Source

ubiquitous.asd.

Parent Component

ubiquitous (system).

Public Interface

3.1.8 ubiquitous/documentation.lisp

Dependency

config.lisp (file).

Source

ubiquitous.asd.

Parent Component

ubiquitous (system).

Internals

setdocs (macro).


4 Packages

Packages are listed by definition order.


4.1 ubiquitous

Source

package.lisp.

Nickname

org.shirakumo.ubiquitous

Use List

common-lisp.

Public Interface
Internals

5 Definitions

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


5.1 Public Interface


5.1.1 Special variables

Special Variable: *changed*

When non-NIL it means a change has occurred and the config should be offloaded.

Package

ubiquitous.

Source

config.lisp.

Special Variable: *commit*

When non-NIL, an OFFLOAD is performed after a call to (SETF VALUE) or REMVALUE.

Package

ubiquitous.

Source

config.lisp.

Special Variable: *metadata-prefix*

The prefix that is used to recognise the metadata header.

Package

ubiquitous.

Source

metadata.lisp.

Special Variable: *metadata-version*

The current version of the configuration metadata.

Should be a float.

Package

ubiquitous.

Source

metadata.lisp.

Special Variable: *storage*

Special variable containing the current root storage object. Defaults to an EQUAL hash-table.

Package

ubiquitous.

Source

storage.lisp.

Special Variable: *storage-pathname*

The pathname for the file where the current *STORAGE* is stored. Defaults to (DESIGNATOR-PATHNAME :GLOBAL *STORAGE-TYPE*).

See DESIGNATOR-PATHNAME
See *STORAGE-TYPE*

Package

ubiquitous.

Source

storage.lisp.

Special Variable: *storage-type*

An indicator for the type of storage format to use. Defaults to :LISP

Only used as a discerning argument to READ/WRITE-STORAGE.

Package

ubiquitous.

Source

storage.lisp.


5.1.2 Macros

Macro: define-ubiquitous-reader (type (form) &body body)

Define a new function that produces an object of TYPE by parsing the read FORM.

Package

ubiquitous.

Source

storage.lisp.

Macro: define-ubiquitous-writer (type (object &optional priority) &body body)

Define a new function that produces a list of objects to be written to reproduce OBJECT of TYPE.

Package

ubiquitous.

Source

storage.lisp.

Macro: with-local-storage ((designator &key type storage transaction) &body body)

Useful for completely encapsulating the storage in a local block.

Unlike WITH-STORAGE, this also binds the *STORAGE-TYPE* and *STORAGE-PATHNAME*. If TRANSACTION is non-NIL, WITH-TRANSACTION is used, and otherwise a simple LET*. STORAGE defaults to the LAZY-LOADER function, meaning that if the storage is never accessed, it is never loaded to begin with. This, along with WITH-TRANSACTION can be a good optimisation to avoid unnecessary disk access.

See *STORAGE*
See *STORAGE-TYPE*
See *STORAGE-PATHNAME*
See WITH-TRANSACTION
See LAZY-LOADER

Package

ubiquitous.

Source

storage.lisp.

Macro: with-processed-metadata (meta &body body)

Wraps the body in an environment where metadata can be safely applied and processes the given metadata within.

At the moment, this simply binds *PACKAGE* to ensure the package indicated
by the metadata can be applied without influencing the surrounding environment.

See PROCESS-METADATA

Package

ubiquitous.

Source

metadata.lisp.

Macro: with-storage ((storage) &body body)

Binds *STORAGE* to the given STORAGE object, ensuring a local configuration.

Package

ubiquitous.

Source

storage.lisp.

Macro: with-transaction ((&key storage type designator) &body body)

Executes BODY within a transaction.

See CALL-WITH-TRANSACTION

Package

ubiquitous.

Source

config.lisp.


5.1.3 Ordinary functions

Function: config-directory ()

Returns a hopefully suitable directory for ubiquitous configuration files.

On Windows this is (USER-HOMEDIR-PATHNAME)/AppData/Local/common-lisp/ubiquitous On other systems (USER-HOMEDIR-PATHNAME)/.config/common-lisp/ubiquitous

Package

ubiquitous.

Source

pathname.lisp.

Function: config-pathname (type)

Returns a pathname with the proper directory and type set.

See CONFIG-DIRECTORY

Package

ubiquitous.

Source

pathname.lisp.

Function: find-metadata-package (name)

Attempt to find a package of the given name for metadata package resolution.

This is like FIND-PACKAGE, except that it signals an error of type BAD-CONFIGURATION-PACKAGE if no package could be found, and establishes the USE-VALUE and CONTINUE restarts to recover from the error.

USE-VALUE lets you pass a package designator to use in place. Note that if you do not pass a PACKAGE object, it will re-test the designator the same way.

CONTINUE will instead use the current *PACKAGE*.

Note that using an alternate package may lead to symbols with the wrong home package in the processed configuration.

See BAD-CONFIGURATION-PACKAGE

Package

ubiquitous.

Source

metadata.lisp.

Function: generate-metadata ()

Generates valid metadata for the current environment.

Package

ubiquitous.

Source

metadata.lisp.

Function: lazy-loader (action field &optional value)

A function that is to be used as a direct *STORAGE* value to delay the restoring.

When called, the function will call RESTORE and then delegate the given action to the proper function (FIELD, (SETF FIELD), REMFIELD) using the *STORAGE* as object.

See *STORAGE*
See FIELD
See REMFIELD
See WITH-LOCAL-STORAGE

Package

ubiquitous.

Source

storage.lisp.

Function: maybe-read-metadata (stream)

Attempts to read a metadata line from the stream.

If the data at the current stream starts with *METADATA-PREFIX*, the line is consumed and read. The read metadata structure is returned. If reading fails, an error of type BAD-METADATA-HEADER is signalled.

See *METADATA-PREFIX*
See BAD-METADATA-HEADER

Package

ubiquitous.

Source

metadata.lisp.

Function: print-metadata (stream &optional metadata)

Writes a metadata header to the stream.

Writes a valid metadata header line to the stream, with the METADATA as the header contents. The header will start with *METADATA-PREFIX* and will only consume a single line.

See *METADATA-PREFIX*
See GENERATE-METADATA

Package

ubiquitous.

Source

metadata.lisp.

Function: process-metadata (meta)

Processes the metadata and applies its effects.

This may signal conditions if the metadata is malformed, or the current environment is not agreeable. Two restarts are established to recover:

USE-VALUE allows you to supply alternate metadata. The metadata is then processed in place of the original.

CONTINUE will simply ignore the metadata and return successfully.

See CHECK-METADATA
See BAD-METADATA-HEADER
See BAD-CONFIGURATION-PACKAGE
See UNKNOWN-VERSION

Package

ubiquitous.

Source

metadata.lisp.


5.1.4 Generic functions

Generic Function: augment (object field secondary)

Attempts to augment OBJECT on FIELD to be able to host a SECONDARY place.

This is done by (SETF FIELD) a hash-table on the given OBJECT and FIELD. The type of SECONDARY decides the hash-table test to use:
SYMBOL, INTEGER, CHARACTER — EQL
STRING, BIT-VECTOR, PATHNAME — EQUAL
ARRAY, STRUCTURE-OBJECT, HASH-TABLE — EQUALP

See FIELD

Package

ubiquitous.

Source

accessor.lisp.

Methods
Method: augment (object field (secondary hash-table))
Method: augment (object field (secondary structure-object))
Method: augment (object field (secondary array))
Method: augment (object field (secondary pathname))
Method: augment (object field (secondary bit-vector))
Method: augment (object field (secondary string))
Method: augment (object field (secondary character))
Method: augment (object field (secondary integer))
Method: augment (object field (secondary symbol))
Generic Reader: bad-package-name (condition)

Returns the bad package name that the condition captured.

See BAD-CONFIGURATION-PACKAGE

Package

ubiquitous.

Methods
Reader Method: bad-package-name ((condition bad-configuration-package))
Source

metadata.lisp.

Target Slot

package.

Generic Function: call-with-transaction (function &key storage type designator)

Calls FUNCTION with *COMMIT* set to NIL and offloads if necessary upon exit.

OFFLOAD is only called if *CHANGED* is non-NIL. Otherwise no change is assumed to have taken place and the offload is prevented to avoid unnecessary writing.

The keyword parameters replace the bindings for *STORAGE* *STORAGE-TYPE* and *STORAGE-PATHNAME* respectively.

See *COMMIT*
See *CHANGED*
See OFFLOAD

Package

ubiquitous.

Source

config.lisp.

Methods
Method: call-with-transaction (function &key storage type designator)
Generic Function: defaulted-value (default &rest path)

Same as VALUE, but automatically returns and sets DEFAULT if the field cannot be found.

See VALUE

Package

ubiquitous.

Source

config.lisp.

Methods
Method: defaulted-value (default &rest path)
Generic Function: designator-pathname (designator type)

Attempts to automatically find the proper pathname for the given DESIGNATOR and TYPE.

If DESIGNATOR is..
An absolute PATHNAME:
The pathname is used as-is.

A relative PATHNAME:
The pathname is merged with that of CONFIG-DIRECTORY.

A STRING:
The string is turned into a pathname by PATHNAME and merged with CONFIG-PATHNAME.

A SYMBOL:
A pathname with the symbol’s symbol-name as pathname-name, the CONFIG-PATHNAME’s pathname-type, and the defaults from PACKAGE-PATHNAME is constructed.

Examples:
(designator-pathname #p"/a" :lisp) — #p"/a"
(designator-pathname #p"a" :lisp) — #p"~/.config/common-lisp/ubiquitous/a" (designator-pathname "a" :lisp) — #p"~/.config/common-lisp/ubiquitous/a.conf.lisp" (designator-pathname :foo :lisp) — #p"~/.config/common-lisp/ubiquitous/foo.conf.lisp" (designator-pathname #:foo :lisp) — #p"~/.config/common-lisp/ubiquitous/foo.conf.lisp" (designator-pathname ’cl:find :lisp) — ERROR
(designator-pathname ’foo:bar :lisp) — #p"~/.config/common-lisp/ubiquitous/foo/bar.conf.lisp"

See PACKAGE-PATHNAME
See CONFIG-DIRECTORY

Package

ubiquitous.

Source

pathname.lisp.

Methods
Method: designator-pathname :around (designator type)
Method: designator-pathname ((designator string) type)
Method: designator-pathname ((designator symbol) type)
Method: designator-pathname ((designator pathname) type)
Generic Function: destroy (&optional designator type)

Destroys *STORAGE* by deleting its file and restoring it to an empty hash table.

The file used to destroy the storage is calculated by passing
DESIGNATOR (defaulting to *STORAGE-PATHNAME*) and TYPE (defaulting to *STORAGE-TYPE*) to DESIGNATOR-PATHNAME.

This sets *STORAGE*, *STORAGE-TYPE*, *STORAGE-PATHNAME*, and *CHANGED*.

See *STORAGE*
See *STORAGE-TYPE*
See *STORAGE-PATHNAME*
See *CHANGED*
See DESIGNATOR-PATHNAME

Package

ubiquitous.

Source

storage.lisp.

Methods
Method: destroy (&optional designator type)
Generic Function: field (object field &optional default)

Access FIELD on OBJECT if possible. Returns DEFAULT if FIELD is not present. The secondary return value is a boolean depicting whether the field could be found.

This is SETF-able. However, while some objects and field combinations may be used to read a field, an equivalent SETF method must not necessarily exist.

In the case where the object is a function, the function is called as follows: (field func field default) => (funcall func :get field default)
(setf (field func field) value) => (funcall func :set field value)

Note that if there is no matching method to look up the requested field, an error is signalled.

Package

ubiquitous.

Source

accessor.lisp.

Methods
Method: field ((object function) field &optional default)
Method: field ((object null) field &optional default)
Method: field ((object symbol) (field symbol) &optional default)
Method: field ((object standard-object) (field symbol) &optional default)
Method: field ((object list) (field string) &optional default)
Method: field ((object list) (field symbol) &optional default)
Method: field ((object list) (field integer) &optional default)
Method: field ((object vector) (field integer) &optional default)
Method: field ((object hash-table) field &optional default)
Generic Function: (setf field) (object field)
Package

ubiquitous.

Source

accessor.lisp.

Methods
Method: (setf field) ((object function) field)
Method: (setf field) ((object symbol) (field symbol))
Method: (setf field) ((object standard-object) (field symbol))
Method: (setf field) ((object list) (field string))
Method: (setf field) ((object list) (field symbol))
Method: (setf field) ((object list) (field integer))
Method: (setf field) ((object vector) (field integer))
Method: (setf field) ((object hash-table) field)
Method: (setf field) :around (object field)
Generic Reader: file (condition)

To be used on NO-STORAGE-FILE, returns the pathname to the file that could not be found.

Package

ubiquitous.

Methods
Reader Method: file ((condition no-storage-file))
Source

storage.lisp.

Target Slot

file.

Generic Writer: (setf file) (condition)
Package

ubiquitous.

Methods
Writer Method: (setf file) ((condition no-storage-file))
Source

storage.lisp.

Target Slot

file.

Generic Reader: header (condition)

Returns the header that is malformed.

See BAD-METADATA-HEADER

Package

ubiquitous.

Methods
Reader Method: header ((condition bad-metadata-header))
Source

metadata.lisp.

Target Slot

header.

Generic Function: offload (&optional designator type storage)

Offloads *STORAGE* by writing it to file.

The file used to read the storage is calculated by passing DESIGNATOR (defaulting to *STORAGE-PATHNAME*) and TYPE (defaulting to *STORAGE-TYPE*) to DESIGNATOR-PATHNAME.

The file is first written to a temporary one and then renamed to the actual file to avoid potential errors or interruptions that would result in a garbled configuration file.

This sets *STORAGE-TYPE*, *STORAGE-PATHNAME*, and *CHANGED*.

During OFFLOAD, the following restarts are active:
ABORT Aborts and does not set any of the usual variables.

See *STORAGE*
See *STORAGE-TYPE*
See *STORAGE-PATHNAME*
See *CHANGED*
See DESIGNATOR-PATHNAME
See WRITE-STORAGE

Package

ubiquitous.

Source

storage.lisp.

Methods
Method: offload (&optional designator type storage)
Generic Function: package-directory (package)

Returns the directory for config files suitable for this package.

By default:
For the CL package, an error is signalled.
For the KEYWORD and NIL packages, the CONFIG-DIRECTORY is returned.
Otherwise, a subdirectory within the CONFIG-DIRECTORY is returned according to the package’s name.

The user may add methods to this function to customise the behaviour of their own packages.

See CONFIG-DIRECTORY

Package

ubiquitous.

Source

pathname.lisp.

Methods
Method: package-directory ((package package))
Method: package-directory ((package (eql #<package "keyword">)))
Method: package-directory ((package null))
Method: package-directory ((package (eql #<package "common-lisp">)))
Method: package-directory ((name string))
Method: package-directory ((name symbol))
Generic Function: read-storage (type stream)

Reads a storage object from STREAM, which must be stored in a format suitable for TYPE. Returns the read storage object.

Package

ubiquitous.

Source

storage.lisp.

Methods
Method: read-storage ((type (eql :lisp)) stream)
Generic Reader: reader-type (condition)

Returns the type that was attempted to be read.

See UNKNOWN-READER-TYPE

Package

ubiquitous.

Methods
Reader Method: reader-type ((condition unknown-reader-type))
Source

storage.lisp.

Target Slot

type.

Generic Function: remfield (object field)

Removes FIELD from OBJECT if possible.
The secondary return value is a boolean depicting whether the field was removed.

In the case where the object is a function, the function is called as follows: (remfield func field) => (funcall func :remove field)

Note that if there is no matching method to look up the requested field, an error is signalled.

Package

ubiquitous.

Source

accessor.lisp.

Methods
Method: remfield ((object function) field)
Method: remfield ((object symbol) (field symbol))
Method: remfield ((object list) (field string))
Method: remfield ((object list) (field symbol))
Method: remfield ((object list) (field integer))
Method: remfield ((object hash-table) field)
Method: remfield :around (object field)
Generic Function: remvalue (&rest path)

Removes the value denoted by the PATH.
The secondary return value is a boolean depicting whether the field could be found.

First traverses *STORAGE* until the last field in PATH by FIELD, then uses REMFIELD on the last remaining field. If no PATH is given, the *STORAGE* is reset to an empty hash-table.

See FIELD
See REMFIELD

Package

ubiquitous.

Source

config.lisp.

Methods
Method: remvalue (&rest path)
Generic Function: restore (&optional designator type)

Restores *STORAGE* by reading it from file if possible and returns it.

The file used to read the storage is calculated by passing DESIGNATOR (defaulting to *STORAGE-PATHNAME*) and TYPE (defaulting to *STORAGE-TYPE*) to DESIGNATOR-PATHNAME. If it exists, a stream is opened and subsequently passed to READ-STORAGE. The result thereof is used as the new storage object. If it does not exist, a warning of type NO-STORAGE-FILE is signalled and a new EQUAL hash-table is used for the storage object (unless a restart is invoked of course).

This sets *STORAGE*, *STORAGE-TYPE*, *STORAGE-PATHNAME*, and *CHANGED*.

During OFFLOAD, the following restarts are active:
USE-NEW-STORAGE Takes one argument to use as the new storage instead. ABORT Aborts and does not set any of the usual variables.

See *STORAGE*
See *STORAGE-TYPE*
See *STORAGE-PATHNAME*
See *CHANGED*
See NO-STORAGE-FILE
See DESIGNATOR-PATHNAME
See READ-STORAGE

Package

ubiquitous.

Source

storage.lisp.

Methods
Method: restore (&optional designator type)
Generic Function: value (&rest path)

Traverses *STORAGE* by the fields in PATH and returns the value if it can be found. The secondary return value is a boolean depicting whether the field could be found.

This is SETF-able. If a PATH is set that is made up of fields that do not exist yet, then these fields are automatically created as necessary (if possible) by usage of AUGMENT. Setting with no PATH given sets the value of *STORAGE*. After setting a value, OFFLOAD is called, unless *COMMIT* is NIL

See FIELD
See AUGMENT
See OFFLOAD
See *COMMIT*

Package

ubiquitous.

Source

config.lisp.

Methods
Method: value (&rest path)
Generic Function: (setf value) (&rest path)
Package

ubiquitous.

Source

config.lisp.

Methods
Method: (setf value) (&rest path)
Generic Reader: version (condition)

Returns the version captured by the condition.

See UNKNOWN-VERSION

Package

ubiquitous.

Methods
Reader Method: version ((condition unknown-version))
Source

metadata.lisp.

Target Slot

version.

Generic Function: write-storage (type stream storage)

Writes the STORAGE object to STREAM in a format suitable for TYPE. Returns the written STORAGE object.

Package

ubiquitous.

Source

storage.lisp.

Methods
Method: write-storage ((type (eql :lisp)) stream storage)
Method: write-storage :around (type pathname storage)

5.1.5 Conditions

Condition: bad-configuration-package

Error signalled when the metadata header refers to an unknown package.

See BAD-PACKAGE-NAME
See METADATA-CONDITION

Package

ubiquitous.

Source

metadata.lisp.

Direct superclasses
Direct methods

bad-package-name.

Direct slots
Slot: package
Package

common-lisp.

Initform

(quote (error "package-name required."))

Initargs

:package-name

Readers

bad-package-name.

Writers

This slot is read-only.

Condition: bad-metadata-header

Error signalled when the metadata header is malformed.

See HEADER
See METADATA-CONDITION

Package

ubiquitous.

Source

metadata.lisp.

Direct superclasses
Direct methods

header.

Direct slots
Slot: header
Initform

(quote (error "header required."))

Initargs

:header

Readers

header.

Writers

This slot is read-only.

Condition: metadata-condition

Superclass for conditions related to configuration metadata.

Package

ubiquitous.

Source

metadata.lisp.

Direct superclasses

condition.

Direct subclasses
Condition: no-storage-file

Condition signalled when the storage FILE to be RESTOREd does not exist.

This does not usually denote a problem, but can be useful to know about if you want perform certain actions on what is probably a first-time launch.

See FILE
See RESTORE

Package

ubiquitous.

Source

storage.lisp.

Direct superclasses

condition.

Direct methods
Direct Default Initargs
InitargValue
:file(error file required.)
Direct slots
Slot: file
Initargs

:file

Readers

file.

Writers

(setf file).

Condition: unknown-reader-type

Error signalled if an unknown structure type is encountered in the config.

See READER-TYPE
See UBIQUITOUS-READER

Package

ubiquitous.

Source

storage.lisp.

Direct superclasses

error.

Direct methods

reader-type.

Direct slots
Slot: type
Package

common-lisp.

Initform

(quote (error "reader-type required."))

Initargs

:reader-type

Readers

reader-type.

Writers

This slot is read-only.

Condition: unknown-version

Warning signalled when the metadata header contains an unknown version number.

See VERSION
See METADATA-CONDITION

Package

ubiquitous.

Source

metadata.lisp.

Direct superclasses
Direct methods

version.

Direct slots
Slot: version
Initform

(quote (error "version required."))

Initargs

:version

Readers

version.

Writers

This slot is read-only.


5.2 Internals


5.2.1 Special variables

Special Variable: *nothing*

Variable with a value used to represent an inexistent value.

Package

ubiquitous.

Source

accessor.lisp.

Special Variable: *ubiquitous-char*

A string of two characters denoting the start and end of a special construct.

Package

ubiquitous.

Source

storage.lisp.

Special Variable: *ubiquitous-print-table*

The pprint-dispatch-table used to write storage objects to file.

Package

ubiquitous.

Source

storage.lisp.

Special Variable: *ubiquitous-read-table*

The readtable used to read storage objects from file.

Package

ubiquitous.

Source

storage.lisp.

Special Variable: *ubiquitous-readers*

A hash table of functions invoked upon reading a special construct.

Package

ubiquitous.

Source

storage.lisp.


5.2.2 Macros

Macro: setdocs (&body pairs)
Package

ubiquitous.

Source

documentation.lisp.


5.2.3 Ordinary functions

Function: check-metadata (meta)

Checks whether the read metadata structure is valid.

Namely an error of type BAD-METADATA-HEADER is signalled if the metadata is not a list, and is not a proper plist.

See BAD-METADATA-HEADER

Package

ubiquitous.

Source

metadata.lisp.

Function: class-slots (class)
Package

ubiquitous.

Source

storage.lisp.

Function: getenv (x)
Package

ubiquitous.

Source

pathname.lisp.

Function: parse-dos-namestring (namestring &key as junk-allowed)
Package

ubiquitous.

Source

pathname.lisp.

Function: parse-native-namestring (namestring &key as junk-allowed)
Package

ubiquitous.

Source

pathname.lisp.

Function: parse-unix-namestring (namestring &key as junk-allowed)
Package

ubiquitous.

Source

pathname.lisp.

Function: prefix-p (prefix string)

Returns T if the PREFIX is a prefix of STRING.

Package

ubiquitous.

Source

metadata.lisp.

Function: slot-definition-name (slot)
Package

ubiquitous.

Source

storage.lisp.

Function: split-package-name (package)
Package

ubiquitous.

Source

pathname.lisp.

Function: ubiquitous-reader (stream c)

Reader function invoked when encountering the first character of *UBIQUITOUS-CHAR*.

This dispatches to the proper reader for the structure’s type. If an
unknown type is encountered, an error of type UNKNOWN-READER-TYPE is
signalled.

See UNKNOWN-READER-TYPE

Package

ubiquitous.

Source

storage.lisp.

Function: ubiquitous-writer (stream form)

Function to pretty print a generalised FORM to STREAM.
Emits a logical block wherein the FORM is printed.
The form must be a list and is stepped one by one. If the item in the list is not a list, it is written readably to the stream. If it is a list, it is written to the stream after a PPRINT-NEWLINE by PPRINT-LINEAR.

Package

ubiquitous.

Source

storage.lisp.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   (  
A   B   C   D   F   G   H   L   M   O   P   R   S   U   V   W  
Index Entry  Section

(
(setf field): Public generic functions
(setf field): Public generic functions
(setf field): Public generic functions
(setf field): Public generic functions
(setf field): Public generic functions
(setf field): Public generic functions
(setf field): Public generic functions
(setf field): Public generic functions
(setf field): Public generic functions
(setf field): Public generic functions
(setf file): Public generic functions
(setf file): Public generic functions
(setf value): Public generic functions
(setf value): Public generic functions

A
augment: Public generic functions
augment: Public generic functions
augment: Public generic functions
augment: Public generic functions
augment: Public generic functions
augment: Public generic functions
augment: Public generic functions
augment: Public generic functions
augment: Public generic functions
augment: Public generic functions

B
bad-package-name: Public generic functions
bad-package-name: Public generic functions

C
call-with-transaction: Public generic functions
call-with-transaction: Public generic functions
check-metadata: Private ordinary functions
class-slots: Private ordinary functions
config-directory: Public ordinary functions
config-pathname: Public ordinary functions

D
defaulted-value: Public generic functions
defaulted-value: Public generic functions
define-ubiquitous-reader: Public macros
define-ubiquitous-writer: Public macros
designator-pathname: Public generic functions
designator-pathname: Public generic functions
designator-pathname: Public generic functions
designator-pathname: Public generic functions
designator-pathname: Public generic functions
destroy: Public generic functions
destroy: Public generic functions

F
field: Public generic functions
field: Public generic functions
field: Public generic functions
field: Public generic functions
field: Public generic functions
field: Public generic functions
field: Public generic functions
field: Public generic functions
field: Public generic functions
field: Public generic functions
file: Public generic functions
file: Public generic functions
find-metadata-package: Public ordinary functions
Function, check-metadata: Private ordinary functions
Function, class-slots: Private ordinary functions
Function, config-directory: Public ordinary functions
Function, config-pathname: Public ordinary functions
Function, find-metadata-package: Public ordinary functions
Function, generate-metadata: Public ordinary functions
Function, getenv: Private ordinary functions
Function, lazy-loader: Public ordinary functions
Function, maybe-read-metadata: Public ordinary functions
Function, parse-dos-namestring: Private ordinary functions
Function, parse-native-namestring: Private ordinary functions
Function, parse-unix-namestring: Private ordinary functions
Function, prefix-p: Private ordinary functions
Function, print-metadata: Public ordinary functions
Function, process-metadata: Public ordinary functions
Function, slot-definition-name: Private ordinary functions
Function, split-package-name: Private ordinary functions
Function, ubiquitous-reader: Private ordinary functions
Function, ubiquitous-writer: Private ordinary functions

G
generate-metadata: Public ordinary functions
Generic Function, (setf field): Public generic functions
Generic Function, (setf file): Public generic functions
Generic Function, (setf value): Public generic functions
Generic Function, augment: Public generic functions
Generic Function, bad-package-name: Public generic functions
Generic Function, call-with-transaction: Public generic functions
Generic Function, defaulted-value: Public generic functions
Generic Function, designator-pathname: Public generic functions
Generic Function, destroy: Public generic functions
Generic Function, field: Public generic functions
Generic Function, file: Public generic functions
Generic Function, header: Public generic functions
Generic Function, offload: Public generic functions
Generic Function, package-directory: Public generic functions
Generic Function, read-storage: Public generic functions
Generic Function, reader-type: Public generic functions
Generic Function, remfield: Public generic functions
Generic Function, remvalue: Public generic functions
Generic Function, restore: Public generic functions
Generic Function, value: Public generic functions
Generic Function, version: Public generic functions
Generic Function, write-storage: Public generic functions
getenv: Private ordinary functions

H
header: Public generic functions
header: Public generic functions

L
lazy-loader: Public ordinary functions

M
Macro, define-ubiquitous-reader: Public macros
Macro, define-ubiquitous-writer: Public macros
Macro, setdocs: Private macros
Macro, with-local-storage: Public macros
Macro, with-processed-metadata: Public macros
Macro, with-storage: Public macros
Macro, with-transaction: Public macros
maybe-read-metadata: Public ordinary functions
Method, (setf field): Public generic functions
Method, (setf field): Public generic functions
Method, (setf field): Public generic functions
Method, (setf field): Public generic functions
Method, (setf field): Public generic functions
Method, (setf field): Public generic functions
Method, (setf field): Public generic functions
Method, (setf field): Public generic functions
Method, (setf field): Public generic functions
Method, (setf file): Public generic functions
Method, (setf value): Public generic functions
Method, augment: Public generic functions
Method, augment: Public generic functions
Method, augment: Public generic functions
Method, augment: Public generic functions
Method, augment: Public generic functions
Method, augment: Public generic functions
Method, augment: Public generic functions
Method, augment: Public generic functions
Method, augment: Public generic functions
Method, bad-package-name: Public generic functions
Method, call-with-transaction: Public generic functions
Method, defaulted-value: Public generic functions
Method, designator-pathname: Public generic functions
Method, designator-pathname: Public generic functions
Method, designator-pathname: Public generic functions
Method, designator-pathname: Public generic functions
Method, destroy: Public generic functions
Method, field: Public generic functions
Method, field: Public generic functions
Method, field: Public generic functions
Method, field: Public generic functions
Method, field: Public generic functions
Method, field: Public generic functions
Method, field: Public generic functions
Method, field: Public generic functions
Method, field: Public generic functions
Method, file: Public generic functions
Method, header: Public generic functions
Method, offload: Public generic functions
Method, package-directory: Public generic functions
Method, package-directory: Public generic functions
Method, package-directory: Public generic functions
Method, package-directory: Public generic functions
Method, package-directory: Public generic functions
Method, package-directory: Public generic functions
Method, read-storage: Public generic functions
Method, reader-type: Public generic functions
Method, remfield: Public generic functions
Method, remfield: Public generic functions
Method, remfield: Public generic functions
Method, remfield: Public generic functions
Method, remfield: Public generic functions
Method, remfield: Public generic functions
Method, remfield: Public generic functions
Method, remvalue: Public generic functions
Method, restore: Public generic functions
Method, value: Public generic functions
Method, version: Public generic functions
Method, write-storage: Public generic functions
Method, write-storage: Public generic functions

O
offload: Public generic functions
offload: Public generic functions

P
package-directory: Public generic functions
package-directory: Public generic functions
package-directory: Public generic functions
package-directory: Public generic functions
package-directory: Public generic functions
package-directory: Public generic functions
package-directory: Public generic functions
parse-dos-namestring: Private ordinary functions
parse-native-namestring: Private ordinary functions
parse-unix-namestring: Private ordinary functions
prefix-p: Private ordinary functions
print-metadata: Public ordinary functions
process-metadata: Public ordinary functions

R
read-storage: Public generic functions
read-storage: Public generic functions
reader-type: Public generic functions
reader-type: Public generic functions
remfield: Public generic functions
remfield: Public generic functions
remfield: Public generic functions
remfield: Public generic functions
remfield: Public generic functions
remfield: Public generic functions
remfield: Public generic functions
remfield: Public generic functions
remvalue: Public generic functions
remvalue: Public generic functions
restore: Public generic functions
restore: Public generic functions

S
setdocs: Private macros
slot-definition-name: Private ordinary functions
split-package-name: Private ordinary functions

U
ubiquitous-reader: Private ordinary functions
ubiquitous-writer: Private ordinary functions

V
value: Public generic functions
value: Public generic functions
version: Public generic functions
version: Public generic functions

W
with-local-storage: Public macros
with-processed-metadata: Public macros
with-storage: Public macros
with-transaction: Public macros
write-storage: Public generic functions
write-storage: Public generic functions
write-storage: Public generic functions


A.3 Variables

Jump to:   *  
F   H   P   S   T   V  
Index Entry  Section

*
*changed*: Public special variables
*commit*: Public special variables
*metadata-prefix*: Public special variables
*metadata-version*: Public special variables
*nothing*: Private special variables
*storage*: Public special variables
*storage-pathname*: Public special variables
*storage-type*: Public special variables
*ubiquitous-char*: Private special variables
*ubiquitous-print-table*: Private special variables
*ubiquitous-read-table*: Private special variables
*ubiquitous-readers*: Private special variables

F
file: Public conditions

H
header: Public conditions

P
package: Public conditions

S
Slot, file: Public conditions
Slot, header: Public conditions
Slot, package: Public conditions
Slot, type: Public conditions
Slot, version: Public conditions
Special Variable, *changed*: Public special variables
Special Variable, *commit*: Public special variables
Special Variable, *metadata-prefix*: Public special variables
Special Variable, *metadata-version*: Public special variables
Special Variable, *nothing*: Private special variables
Special Variable, *storage*: Public special variables
Special Variable, *storage-pathname*: Public special variables
Special Variable, *storage-type*: Public special variables
Special Variable, *ubiquitous-char*: Private special variables
Special Variable, *ubiquitous-print-table*: Private special variables
Special Variable, *ubiquitous-read-table*: Private special variables
Special Variable, *ubiquitous-readers*: Private special variables

T
type: Public conditions

V
version: Public conditions


A.4 Data types

Jump to:   A   B   C   D   F   M   N   P   S   U  
Index Entry  Section

A
accessor.lisp: The ubiquitous/accessor․lisp file

B
bad-configuration-package: Public conditions
bad-metadata-header: Public conditions

C
Condition, bad-configuration-package: Public conditions
Condition, bad-metadata-header: Public conditions
Condition, metadata-condition: Public conditions
Condition, no-storage-file: Public conditions
Condition, unknown-reader-type: Public conditions
Condition, unknown-version: Public conditions
config.lisp: The ubiquitous/config․lisp file

D
documentation.lisp: The ubiquitous/documentation․lisp file

F
File, accessor.lisp: The ubiquitous/accessor․lisp file
File, config.lisp: The ubiquitous/config․lisp file
File, documentation.lisp: The ubiquitous/documentation․lisp file
File, metadata.lisp: The ubiquitous/metadata․lisp file
File, package.lisp: The ubiquitous/package․lisp file
File, pathname.lisp: The ubiquitous/pathname․lisp file
File, storage.lisp: The ubiquitous/storage․lisp file
File, ubiquitous.asd: The ubiquitous/ubiquitous․asd file

M
metadata-condition: Public conditions
metadata.lisp: The ubiquitous/metadata․lisp file

N
no-storage-file: Public conditions

P
Package, ubiquitous: The ubiquitous package
package.lisp: The ubiquitous/package․lisp file
pathname.lisp: The ubiquitous/pathname․lisp file

S
storage.lisp: The ubiquitous/storage․lisp file
System, ubiquitous: The ubiquitous system

U
ubiquitous: The ubiquitous system
ubiquitous: The ubiquitous package
ubiquitous.asd: The ubiquitous/ubiquitous․asd file
unknown-reader-type: Public conditions
unknown-version: Public conditions