Skip to content

Commit

Permalink
lists concept: Correct terminology
Browse files Browse the repository at this point in the history
  • Loading branch information
tasxatzial committed Oct 24, 2024
1 parent 537cda2 commit 036cddb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions concepts/lists/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
- Lists can be created using `list` or by using a single quote.
- Clojure will try to evaluate lists, treating the first item as a function.
- Core functions:
- `cons` returns a list with the new item added to beginning.
- `first` returns the first item from a list.
- `rest` returns the list without the first item.
- `count` returns the number of items in the list.
- `conj` returns a list with items appended in it.
- `first` returns the first item in the list.
- `rest` returns the list without its first item.
- `count` returns the total number of items in the list.
- `conj` adds one or more items to the beginning of the list.

## Additional Resources

Expand Down

0 comments on commit 036cddb

Please sign in to comment.