tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
|
|
@ -0,0 +1,12 @@
|
|||
(defmacro with-serialization-to-file ((stream pathname) &body body)
|
||||
`(with-open-file (,stream ,pathname
|
||||
:element-type '(unsigned-byte 8)
|
||||
:direction :output
|
||||
:if-exists :supersede)
|
||||
,@body))
|
||||
|
||||
(defclass entity ()
|
||||
((name :initarg :name :initform "Some entity")))
|
||||
|
||||
(defclass person (entity)
|
||||
((name :initarg :name :initform "The Nameless One")))
|
||||
Loading…
Add table
Add a link
Reference in a new issue