From a06fdddc0c5a61b8b815f6e57ad93aaa0d35fd6f Mon Sep 17 00:00:00 2001 From: Steven Yang Date: Tue, 7 Mar 2023 22:53:32 -0800 Subject: [PATCH] Fix typo in chapter 4, block world domain The logic here is only making orderings possible when the list has more than one elements. --- docs/chapter4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/chapter4.md b/docs/chapter4.md index 3bcc83f8..f543ed3c 100644 --- a/docs/chapter4.md +++ b/docs/chapter4.md @@ -1197,7 +1197,7 @@ That is, we could change `achieve-all` as follows: current-state))) (defun orderings (l) - (if (> (length l) l) + (if (> (length l) 1) (list l (reverse l)) (list l))) ```