easier way to write not not?

2013-07-17 Thread JvJ
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 -

Re: easier way to write not not?

2013-07-17 Thread Shantanu Kumar
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

Re: easier way to write not not?

2013-07-17 Thread Alex Baranosky
`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 --

Re: easier way to write not not?

2013-07-17 Thread Kelker Ryan
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

Re: easier way to write not not?

2013-07-17 Thread Steven Degutis
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

Re: easier way to write not not?

2013-07-17 Thread Stefan Kamphausen
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