Browse files

Merge pull request #20 from pol/list-conj-cons

Clarified the cons/conj list return type
  • Loading branch information...
2 parents 4e6f0fa + 1ecc792 commit 12b37d329208e98ea28b6700bfabb18aae0d1823 @mvolkmann committed Jan 5, 2014
Showing with 4 additions and 3 deletions.
  1. +4 −3 article.html
@@ -1397,9 +1397,10 @@
- Both the <code>conj</code> and <code>cons</code> functions
- create a new list
- that contains additional items added to the front.
+ While the <code>conj</code> function will create a new
+ list, the <code>cons</code> function will create a new
+ sequence (more about that in the Sequences chapter). In each
+ case the new item(s) are added to the front.
The <code>remove</code> function creates a new list containing
only the items for which a predicate function returns false.
For example:

0 comments on commit 12b37d3

Please sign in to comment.