diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-02-24 10:06:05 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-02-24 10:06:05 -0700 |
commit | ac17e28f7d927cad8884b33e66c47abaab8f85e3 (patch) | |
tree | de1a64e3b70e5e13c92db529be1cbcad734fc48a /src/propspec.lisp | |
parent | f789ae57f132fb46fd26adcc920ef0110322c0f9 (diff) | |
download | consfigurator-ac17e28f7d927cad8884b33e66c47abaab8f85e3.tar.gz |
define PRINT-OBJECT methods sufficient to readably print *HOST*
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/propspec.lisp')
-rw-r--r-- | src/propspec.lisp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/propspec.lisp b/src/propspec.lisp index 59e7cea..b46b6b5 100644 --- a/src/propspec.lisp +++ b/src/propspec.lisp @@ -77,6 +77,13 @@ systems, resolve unapply, onchange etc., and then look in the value cell of each PROPERTY to find a property, and pass each of ARGS to the function in the property's apply slot.")) +(defmethod print-object ((propspec propspec) stream) + (format stream "~S" `(make-instance + 'propspec + :systems ',(slot-value propspec 'systems) + :props ',(slot-value propspec 'applications))) + propspec) + ;; The following five functions, should be everything we need to do with ;; propspecs, so all knowledge of the possible combinator symbols should be ;; confined to these four functions -- i.e., if we are to add any combinators, |