Skip to content

Commit

Permalink
* src/cljs/cljs/core.cljs: remove code duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
David Nolen authored and David Nolen committed May 6, 2012
1 parent e5c3a41 commit fdff1b1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/cljs/cljs/core.cljs
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -830,16 +830,6 @@ reduces them without incurring seq initialization"
[s] [s]
(satisfies? ISeqable s)) (satisfies? ISeqable s))


(defn ^boolean reduceable?
"Return true if s satisfies IReduce"
[s]
(satisfies? IReduce s))

(defn ^boolean indexed?
"Return true if s satisfies IIndexed"
[s]
(satisfies? IIndexed s))

(defn ^boolean boolean [x] (defn ^boolean boolean [x]
(if x true false)) (if x true false))


Expand Down

0 comments on commit fdff1b1

Please sign in to comment.