Browse files

update to section on sets

  • Loading branch information...
mvolkmann committed Aug 19, 2012
1 parent 0bd3785 commit e783bf2504b5f6bf1e079fdb66ec6525069307e3
Showing with 3 additions and 2 deletions.
  1. +3 −2 article.html
@@ -107,7 +107,7 @@ <h1>Clojure - Functional Programming for the JVM</h1>
by<br />
<a href="" onclick=",'_blank');return false;" title="Author Bio">R. Mark Volkmann</a>,
Partner <br />Object Computing, Inc. (OCI)<br />
- last updated on 7/22/12
+ last updated on 8/9/12
<p style="text-align:center">
@@ -934,7 +934,8 @@ <h2><a name="Syntax">Clojure Syntax</a></h2>
<div class="code">
<pre xml:space="preserve">
; This is Clojure code.
-; When a set is used as a function, it returns a boolean
+; When a set is used as a function, it returns the argument if it is
+; in the set and nil otherwise. When used in a boolean context,
; that indicates whether the argument is in the set.
(def vowel? (set "aeiou"))

0 comments on commit e783bf2

Please sign in to comment.