Fix type checking
This commit is contained in:
parent
799d351917
commit
1f94736771
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
|||
(make-db-path (today) "-surveys-db.lisp"))
|
||||
|
||||
(defun load-response (db)
|
||||
(check-type db string)
|
||||
(check-type db (or string pathname))
|
||||
(with-open-file (stream db
|
||||
:direction :input
|
||||
:if-does-not-exist :create)
|
||||
|
@ -43,7 +43,7 @@
|
|||
(read stream))))
|
||||
|
||||
(defun store-response (db responses)
|
||||
(check-type db string)
|
||||
(check-type db (or string pathname))
|
||||
(check-type responses list)
|
||||
(with-open-file (stream db
|
||||
:direction :output
|
||||
|
|
Loading…
Add table
Reference in a new issue