Re:Clojure 1.6 released
by dpassen1 on Tuesday March 25, 2014 @01:12PM
(#7467153)
Agreed. Seems like a very unnecessary addition.
[ Parent
| on HN ]
Re:Clojure 1.6 released
by puredanger on Tuesday March 25, 2014 @02:56PM
(#7468031)
The non-nil checks are particularly useful in core.async code as nil is a special value for channels (indicating they've been closed). This family of functions can be used to more concisely determine if a value from a channel is a value or means "close".