cl-singleton-mixin

2015-05-05

provides singleton-mixin class.

Upstream URL

github.com/hipeta/cl-singleton-mixin

Author

hipeta

License

MIT
README

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.

Dependencies (3)

  • closer-mop
  • fiveam
  • metap

Dependents (0)

    • GitHub
    • Quicklisp