aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-10-23 11:16:28 -0500
committerColin Okay <colin@cicadas.surf>2022-10-23 11:16:28 -0500
commitdb6d9cf0dc158e2175d91b90f203995f86d545eb (patch)
tree6ea0e6797d934ce7e91e9640bb5e73e056dda69f
parentbc21ac80e5b3b1449a7c7b7df36fc2d48d9ba355 (diff)
Add: default name util
-rw-r--r--utilities.lisp3
1 files changed, 3 insertions, 0 deletions
diff --git a/utilities.lisp b/utilities.lisp
index 525e2c1..fb684d4 100644
--- a/utilities.lisp
+++ b/utilities.lisp
@@ -13,6 +13,9 @@
host
(get-universal-time))))))
+(defun default-name (kind)
+ (format nil "~a" (gensym kind)))
+
(defun take (n list &optional share-tail)
"Returns two values. The first value returned is a list of the first
N members of LIST. The second value is a list of the remaining