Skip to content

Commit

Permalink
bird-watcher: Fix introduction example (#690)
Browse files Browse the repository at this point in the history
* bird-watcher: Fix introduction example

* Update introduction.md with different types
  • Loading branch information
caioguedes authored Oct 28, 2024
1 parent c283f00 commit a06e645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/concept/bird-watcher/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A `vector` in Clojure is a sequential, indexed, immutable collection of zero or
(def empty [])
(def single-value [5])
(def single-value-alternative (vector 5))
(def three-values [a b c])
(def three-values [1 "a" "b"])
```

Elements can be retrieved from a vector using an index. Clojure vectors are zero-based, meaning that the first element's index is always zero:
Expand Down

0 comments on commit a06e645

Please sign in to comment.