From 5aacc6abd419a7ee9296245cefbe5d9efad99374 Mon Sep 17 00:00:00 2001 From: "Marius A. Rabenarivo" Date: Sat, 8 May 2021 12:50:48 +0400 Subject: [PATCH] Add 'svg after :as in Listing 6-3 --- content/cftbat/organization.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/cftbat/organization.html b/content/cftbat/organization.html index 3dbda0ee..7fc751bd 100644 --- a/content/cftbat/organization.html +++ b/content/cftbat/organization.html @@ -370,7 +370,7 @@

Requiring and Using Namespaces

Or you could use the use form in Listing 6-3 (which also includes examples of how you can call functions).

(use '[the-divine-cheese-code.visualization.svg :as svg :only [points]])
-(refer 'the-divine-cheese-code.visualization.svg :as :only ['points])
+(refer 'the-divine-cheese-code.visualization.svg :as 'svg :only ['points])
 (= svg/points points)
 ; => true