Not that it's a big deal, but is there a standard library function for
#(not (not %))?
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated -
On Wednesday, 17 July 2013 11:42:10 UTC+5:30, JvJ wrote:
Not that it's a big deal, but is there a standard library function for
#(not (not %))?
Just say `boolean` maybe?
Shantanu
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to
`boolean`. Agreed.
On Tue, Jul 16, 2013 at 11:13 PM, Shantanu Kumar
kumar.shant...@gmail.comwrote:
On Wednesday, 17 July 2013 11:42:10 UTC+5:30, JvJ wrote:
Not that it's a big deal, but is there a standard library function for
#(not (not %))?
Just say `boolean` maybe?
Shantanu
--
Have you tried the complement form? 17.07.2013, 15:12, "JvJ" kfjwhee...@gmail.com:Not that it's a big deal, but is there a standard library function for #(not (not %))? -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send
user= (mapv #(not (not %)) [1 :a true false nil])
[true true true false false]
user= (mapv boolean [1 :a true false nil])
[true true true false false]
On Wed, Jul 17, 2013 at 3:45 AM, Kelker Ryan theinter...@yandex.com wrote:
Have you tried the complement form?
17.07.2013, 15:12, JvJ
Just for the record: I stumbled across the same question just a week ago.
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be