Skip to content
Browse files

Add ^boolean hint to reduced?

  • Loading branch information...
1 parent 0ad5556 commit c3970a160873f440ba3903f1ad5e74d7431a6e8d @michalmarczyk michalmarczyk committed with David Nolen May 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cljs/cljs/core.cljs
View
2 src/cljs/cljs/core.cljs
@@ -942,7 +942,7 @@ reduces them without incurring seq initialization"
IDeref
(-deref [o] val))
-(defn reduced?
+(defn ^boolean reduced?
"Returns true if x is the result of a call to reduced"
[r]
(instance? Reduced r))

0 comments on commit c3970a1

Please sign in to comment.
Something went wrong with that request. Please try again.