From 9e405479877917009194a9855d5debe6771fcb3f Mon Sep 17 00:00:00 2001 From: Roger Erens Date: Tue, 2 Apr 2024 22:47:03 +0200 Subject: [PATCH] Fix a typo Signed-off-by: Roger Erens --- docs/introduction/clojure-in-15-minutes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/introduction/clojure-in-15-minutes.md b/docs/introduction/clojure-in-15-minutes.md index 0fc7924b1..6fc9e3651 100644 --- a/docs/introduction/clojure-in-15-minutes.md +++ b/docs/introduction/clojure-in-15-minutes.md @@ -153,11 +153,11 @@ A predicate is a function that returns a boolean `true` or `false` value and by The most common data collections in Clojure: * `(1 2 "three")` or `(list 1 2 "three")` - a list of values read from start to end (sequential access) -* `[1 2 "three"]` or `(list 1 2 "three")` - a vector of values with index (random access) +* `[1 2 "three"]` or `(vector 1 2 "three")` - a vector of values with index (random access) * `{:key "value"}` or `(hash-map :key "value")` - a hash-map with zero or more key value pairs (associative relation) * `#{1 2 "three"}` or `(set 1 2 "three")` - a unique set of values -A list `()` is evaluated as a function call. The first element of the list the name of the function to call and additional values are arguments to the function. +A list `()` is evaluated as a function call. The first element of the list is the name of the function to call and additional values are arguments to the function. The `'` quote function informs the Clojure reader to treat the list as data only.