The postmodernity Reference Manual

This is the postmodernity Reference Manual, version 0.0.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 17:36:13 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 postmodernity

Utility library for the Common Lisp Postmodern library

Author

Michael J. Forster <>

License

MIT

Version

0.0.2

Dependencies
  • alexandria (system).
  • postmodern (system).
Source

postmodernity.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 postmodernity/postmodernity.asd

Source

postmodernity.asd.

Parent Component

postmodernity (system).

ASDF Systems

postmodernity.


3.1.2 postmodernity/package.lisp

Source

postmodernity.asd.

Parent Component

postmodernity (system).

Packages

postmodernity.


3.1.3 postmodernity/postmodernity.lisp

Dependency

package.lisp (file).

Source

postmodernity.asd.

Parent Component

postmodernity (system).

Public Interface

defpgstruct (macro).

Internals

4 Packages

Packages are listed by definition order.


4.1 postmodernity

Source

package.lisp.

Use List

common-lisp.

Public Interface

defpgstruct (macro).

Internals

5 Definitions

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


5.1 Public Interface


5.1.1 Macros

Macro: defpgstruct (structure-name &body slot-specs)

Defines a structured type, named /structure-type/, with named slots as specified by /slot-specs/ and defines a Postmodern row reader named /structure-name/-ROW-READER.

DEFPGSTRUCT creates and adds to POSTMODERN::*RESULT-STYLES* the keywords named structure-name and by concatenating with S and !. Those keywords can be used as result format arguments to POSTMODERN:QUERY, POSTMODERN:PREPARE, POSTMODERN:DEFPREPARED, and POSTMODERN:DEFPREPARED-WITH-NAMES. Note that, in doing so, DEFPGSTRUCT accesses unexported symbols from the POSTMODERN package.

/structure-name/ must be a symbol, like a Common Lisp structure /structure-name/ rather than a Common Lisp structure /name-and-options/.

Each /slot-spec/ must be either a symbol specifying the slot name or a list of a symbol specifying the slot name and a desginator for a function to read and convert the PostgreSQL string value when initializing the slot value. If /slot-spec/ is a symbol, the slot value will be initialized to the PostgreSQL string value.

Package

postmodernity.

Source

postmodernity.lisp.


5.2 Internals


5.2.1 Ordinary functions

Function: add-result-style (style-name row-reader-name result-name)
Package

postmodernity.

Source

postmodernity.lisp.

Function: make-all-rows-name (structure-name)
Package

postmodernity.

Source

postmodernity.lisp.

Function: make-constructor-argument-form (slot-spec fields i)
Package

postmodernity.

Source

postmodernity.lisp.

Function: make-constructor-argument-keyword (slot-spec)
Package

postmodernity.

Source

postmodernity.lisp.

Function: make-default-constructor-name (structure-name)
Package

postmodernity.

Source

postmodernity.lisp.

Function: make-row-reader-name (structure-name)
Package

postmodernity.

Source

postmodernity.lisp.

Function: make-single-row!-name (structure-name)
Package

postmodernity.

Source

postmodernity.lisp.

Function: make-single-row-name (structure-name)
Package

postmodernity.

Source

postmodernity.lisp.

Function: make-slot-description (slot-spec)
Package

postmodernity.

Source

postmodernity.lisp.

Function: slot-spec-name (slot-spec)
Package

postmodernity.

Source

postmodernity.lisp.

Function: slot-spec-reader (slot-spec)
Package

postmodernity.

Source

postmodernity.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables