aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--utilities.lisp4
1 files changed, 4 insertions, 0 deletions
diff --git a/utilities.lisp b/utilities.lisp
index b91e345..abe10b7 100644
--- a/utilities.lisp
+++ b/utilities.lisp
@@ -92,3 +92,7 @@
(unwind-protect
(progn ,@body)
(uiop:delete-directory-tree ,dir :validate t))))
+
+(defun read-from-file (path)
+ (read-from-string
+ (alexandria:read-file-into-string path)))