The cl-locatives Reference Manual

This is the cl-locatives Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 04:11:24 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 cl-locatives

Implementation of locatives, pointer-like objects in Lisp.

Author

Robert Smith <>

License

BSD 3-clause (See LICENSE)

Source

cl-locatives.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 cl-locatives/cl-locatives.asd

Source

cl-locatives.asd.

Parent Component

cl-locatives (system).

ASDF Systems

cl-locatives.


3.1.2 cl-locatives/package.lisp

Source

cl-locatives.asd.

Parent Component

cl-locatives (system).

Packages

cl-locatives.


3.1.3 cl-locatives/cl-locatives.lisp

Dependency

package.lisp (file).

Source

cl-locatives.asd.

Parent Component

cl-locatives (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 cl-locatives

A package for creating and manipulating locatives.

Source

package.lisp.

Nickname

loc

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 Macros

Macro: locative-for (place)

Return a locative for the place PLACE.

PLACE should be a form that can be passed as the first argument to SETF.

Package

cl-locatives.

Source

cl-locatives.lisp.


5.1.2 Setf expanders

Setf Expander: (setf dereference) (locative)
Package

cl-locatives.

Source

cl-locatives.lisp.

Reader

dereference (function).


5.1.3 Ordinary functions

Function: dereference (locative)

Return a value that a locative LOCATIVE "points" to.

Package

cl-locatives.

Source

cl-locatives.lisp.

Setf expander for this function

(setf dereference).

Reader: locative-writer (instance)
Package

cl-locatives.

Source

cl-locatives.lisp.

Target Slot

writer.

Function: locativep (object)
Package

cl-locatives.

Source

cl-locatives.lisp.


5.1.4 Standalone methods

Method: print-object ((object locative) stream)
Source

cl-locatives.lisp.


5.1.5 Structures

Structure: locative

A pointer-like data structure to allow, among other things, "reference passing" programming style.

Package

cl-locatives.

Source

cl-locatives.lisp.

Direct superclasses

structure-object.

Direct methods

print-object.

Direct slots
Slot: reader
Type

function

Initform

(error "must provide reader function.")

Readers

locative-reader.

Writers

This slot is read-only.

Slot: writer
Type

function

Initform

(error "must provide writer function.")

Readers

locative-writer.

Writers

This slot is read-only.


5.2 Internals


5.2.1 Ordinary functions

Function: %make-locative (&key reader writer)
Package

cl-locatives.

Source

cl-locatives.lisp.

Reader: locative-reader (instance)
Package

cl-locatives.

Source

cl-locatives.lisp.

Target Slot

reader.


Appendix A Indexes


A.1 Concepts


A.3 Variables

Jump to:   R   S   W  
Index Entry  Section

R
reader: Public structures

S
Slot, reader: Public structures
Slot, writer: Public structures

W
writer: Public structures