Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a typo #468

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/introduction/clojure-in-15-minutes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down