Skip to content

Commit

Permalink
* readme.textile: Stuart Halloway's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Mar 16, 2010
1 parent 0e719de commit 5f5af99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readme.textile
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ Because this scrape is not comprehensive we might match empty stories, so we def

<pre>
(defn print-stories []
(doseq [story (filter (complement empty-story?) (map extract (stories)))]
(doseq [story (remove empty-story? (map extract (stories)))]
(print-story story)))
</pre>

Expand Down
2 changes: 1 addition & 1 deletion src/tutorial/scrape3.clj
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@
(println "\t" (check story :summary "No summary")))

(defn print-stories []
(doseq [story (filter (complement empty-story?) (map extract (stories)))]
(doseq [story (remove empty-story? (map extract (stories)))]
(print-story story)))

0 comments on commit 5f5af99

Please sign in to comment.