Skip to content

Commit

Permalink
Filtering empty sequential returns empty sequential. EOM
Browse files Browse the repository at this point in the history
  • Loading branch information
timvisher committed Apr 12, 2012
1 parent 61399d3 commit 24b7584
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ft3/product-currying/src/product_currying/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@

(defn my-filter [predicate sequence]
{:pre [(sequential? sequence)
(every? integer? sequence)]})
(every? integer? sequence)]}
(when (empty? sequence) sequence))

0 comments on commit 24b7584

Please sign in to comment.