The cl-singleton-mixin Reference Manual

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

The cl-singleton-mixin Reference Manual

This is the cl-singleton-mixin Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 04:02:27 2022 GMT+0.

Table of Contents


1 Introduction

Cl-singleton-mixin

Cl-singleton-mixin simply provides singleton-mixin class by using metap (https://github.com/hipeta/metap).

Example

(ql:quickload :cl-singleton-mixin)

(defclass some-singleton (singleton-mixin) ())

(eq (make-instance 'some-singleton)
    (make-instance 'some-singleton))  ; => T

(defclass some-child (some-singleton) ())

(eq (make-instance 'some-child)
    (make-instance 'some-child))  ; => T

Installation

(ql:quickload :cl-singleton-mixin)

License

Cl-singleton-mixin is released under the MIT License, see LICENSE file.


2 Systems

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


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

2.1 cl-singleton-mixin

provides singleton-mixin class.

Author

hipeta

License

MIT

Dependencies
  • closer-mop (system).
  • metap (system).
Source

cl-singleton-mixin.asd.

Child Component

cl-singleton-mixin.lisp (file).


3 Files

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


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

3.1 Lisp


3.1.1 cl-singleton-mixin/cl-singleton-mixin.asd

Source

cl-singleton-mixin.asd.

Parent Component

cl-singleton-mixin (system).

ASDF Systems

cl-singleton-mixin.


3.1.2 cl-singleton-mixin/cl-singleton-mixin.lisp

Source

cl-singleton-mixin.asd.

Parent Component

cl-singleton-mixin (system).

Packages

cl-singleton-mixin.

Public Interface

4 Packages

Packages are listed by definition order.


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

4.1 cl-singleton-mixin

Source

cl-singleton-mixin.lisp.

Use List

common-lisp.

Public Interface

5 Definitions

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


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

5.1 Public Interface


5.1.1 Generic functions

Generic Function: remove-singleton-instance (class)
Package

cl-singleton-mixin.

Source

cl-singleton-mixin.lisp.

Methods
Method: remove-singleton-instance ((class symbol))
Method: remove-singleton-instance ((class singleton-class))

5.1.2 Standalone methods

Method: make-instance :around ((class singleton-class) &key)
Source

cl-singleton-mixin.lisp.

Method: reinitialize-instance :after ((class singleton-class) &key)
Source

cl-singleton-mixin.lisp.

Method: validate-superclass ((c standard-class) (s singleton-class))
Package

sb-mop.

Source

cl-singleton-mixin.lisp.

Method: validate-superclass ((c singleton-class) (s singleton-class))
Package

sb-mop.

Source

cl-singleton-mixin.lisp.

Method: validate-superclass ((c singleton-class) (s standard-class))
Package

sb-mop.

Source

cl-singleton-mixin.lisp.


5.1.3 Classes

Class: singleton-class
Package

cl-singleton-mixin.

Source

cl-singleton-mixin.lisp.

Direct superclasses

standard-class.

Direct methods
Direct slots
Slot: %the-singleton-instance
Class: singleton-mixin
Package

cl-singleton-mixin.

Source

cl-singleton-mixin.lisp.


5.2 Internals


Appendix A Indexes


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

A.1 Concepts


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

A.3 Variables

Jump to:   %  
S  
Index Entry  Section

%
%the-singleton-instance: Public classes

S
Slot, %the-singleton-instance: Public classes

Jump to:   %  
S