From edaae03c53036525e02c14ac4315472d0de9cb6e Mon Sep 17 00:00:00 2001 From: Matthew Davidson Date: Wed, 4 Jan 2023 14:38:43 +0100 Subject: [PATCH] 18 --- src/koans/18_quote.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/koans/18_quote.clj b/src/koans/18_quote.clj index a2b3cf7..49ef711 100644 --- a/src/koans/18_quote.clj +++ b/src/koans/18_quote.clj @@ -4,13 +4,13 @@ (meditations "Wrap a quote around a list to suppress evaluation" - (= (quote (1 2 3 4 5)) '(1 2 3 4 5)) + (= (quote (1 2 3 4 5)) '(1 2 3 4 5)) "There is a shortcut too!" (= (quote (1 2 3 4 5)) '(1 2 3 4 5)) "You can quote symbols as well as lists... without evaluation!" - (= 'age (let [age 9] (quote age))) + (= 'age (let [age 9] (quote age))) "You can use a literal list as a data collection without having Clojure try to call a function" (= (cons 1 (quote (2 3))) (list 1 2 3) (cons 1 [2 3]))