From 9e38c72d03320a935200427602f8220c4008eef7 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Wed, 8 Dec 2021 12:32:27 -0600 Subject: [PATCH] Fix Lisp package locking --- test.lisp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test.lisp b/test.lisp index f362c4d..8cfe478 100644 --- a/test.lisp +++ b/test.lisp @@ -1,7 +1,10 @@ ;; Common Lisp -(defun gcd (a b) - (if (> b 0) (gcd b (mod a b)) a) +(require '#:package-locks) +(ext:without-package-locks + (defun gcd (a b) + (if (> b 0) (gcd b (mod a b)) a) + ) ) (princ "test")