From 0e77b2d2b8d5b9f2cf9aae92e96aa1c30aeb8526 Mon Sep 17 00:00:00 2001 From: Zach Beane Date: Wed, 27 Apr 2016 11:39:18 -0400 Subject: [PATCH] Add a type for EMPTY-VECTOR. --- utils.lisp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils.lisp b/utils.lisp index 21839b3..5c795a4 100644 --- a/utils.lisp +++ b/utils.lisp @@ -40,6 +40,9 @@ (deftype octet-vector (&optional size) `(simple-array octet (,size))) +(deftype empty-vector () + `(vector * 0)) + (defun http-date-string (&optional (time (get-universal-time))) "Return a HTTP-style date string." (multiple-value-bind (second minute hour day month year day-of-week) -- 2.11.4.GIT