2009/5/4 Rich Hickey :
>
>
>
> On May 4, 7:14 am, Laurent PETIT wrote:
>> Hi,
>>
>> 2009/5/4 Rich Hickey
>>
>>
>>
>>
>>
>> > On May 4, 1:53 am, Laurent PETIT wrote:
>> > > 2009/5/4 Christophe Grand
>>
>> > > > Janico Greifenberg a écrit :
>> > > > > Hi,
>>
>> > > > > I encountered unexpected b
On May 4, 7:14 am, Laurent PETIT wrote:
> Hi,
>
> 2009/5/4 Rich Hickey
>
>
>
>
>
> > On May 4, 1:53 am, Laurent PETIT wrote:
> > > 2009/5/4 Christophe Grand
>
> > > > Janico Greifenberg a écrit :
> > > > > Hi,
>
> > > > > I encountered unexpected behavior of the 'if' form in clojure when
>
Hi,
2009/5/4 Rich Hickey
>
>
>
> On May 4, 1:53 am, Laurent PETIT wrote:
> > 2009/5/4 Christophe Grand
> >
> >
> >
> >
> >
> > > Janico Greifenberg a écrit :
> > > > Hi,
> >
> > > > I encountered unexpected behavior of the 'if' form in clojure when using
> > > > instances of java.lang.Boolean
On May 4, 1:53 am, Laurent PETIT wrote:
> 2009/5/4 Christophe Grand
>
>
>
>
>
> > Janico Greifenberg a écrit :
> > > Hi,
>
> > > I encountered unexpected behavior of the 'if' form in clojure when using
> > > instances of java.lang.Boolean as the condition. I wanted to convert
> > > input strin
2009/5/4 Christophe Grand
>
> Janico Greifenberg a écrit :
> > Hi,
> >
> > I encountered unexpected behavior of the 'if' form in clojure when using
> > instances of java.lang.Boolean as the condition. I wanted to convert
> > input strings to booleans and used the constructor of the Boolean class
Janico Greifenberg a écrit :
> Hi,
>
> I encountered unexpected behavior of the 'if' form in clojure when using
> instances of java.lang.Boolean as the condition. I wanted to convert
> input strings to booleans and used the constructor of the Boolean class
> with the string parameter. However,
2009/5/3 Janico Greifenberg
>
> Hi,
>
> I encountered unexpected behavior of the 'if' form in clojure when using
> instances of java.lang.Boolean as the condition. I wanted to convert
> input strings to booleans and used the constructor of the Boolean class
> with the string parameter. However, w
In Java, you're supposed to use Boolean.valueOf whenever converting a string
to a Boolean. The constructors are useless unless you for some reason need
separate identities for Boolean objects.
On Sun, May 3, 2009 at 11:56 AM, Janico Greifenberg wrote:
>
> Hi,
>
> I encountered unexpected behavi
Hi,
I encountered unexpected behavior of the 'if' form in clojure when using
instances of java.lang.Boolean as the condition. I wanted to convert
input strings to booleans and used the constructor of the Boolean class
with the string parameter. However, when I pass these values as a
condition