On Tuesday, 31 January 2017 10:25:31 UTC+11, Leon Grapenthin wrote:
>
> Hi Sayth, welcome to Clojure.
>
> Read like this:
>
> (nil? nil)
> ;-> true
> Is nil nil? True.
>
> (true? nil)
> ;-> false
> Is nil true? False.
>
> Kind regards,
> Leon.
>
>
Thanks Leon. Yeah it does make sense it just
Hi Sayth, welcome to Clojure.
Read like this:
(nil? nil)
;-> true
Is nil nil? True.
(true? nil)
;-> false
Is nil true? False.
Kind regards,
Leon.
On Monday, January 30, 2017 at 8:34:09 AM UTC+1, Sayth Renshaw wrote:
>
> Hi
>
> If nil is true
>
> clojure-noob
On Monday, January 30, 2017 at 1:34:09 AM UTC-6, Sayth Renshaw wrote:
>
> Hi
>
> If nil is true
>
> clojure-noob.core> (nil? nil)
> true
>
Similarly,
user=> (false? false)
true
--
You received this message because you are subscribed to the Google
Groups &q
enshaw
wrote:
>
>
> On Monday, 30 January 2017 19:02:08 UTC+11, Sayth Renshaw wrote:
>>
>>
>>
>> On Monday, 30 January 2017 18:53:44 UTC+11, Alan Forrester wrote:
>>>
>>>
>>> > Hi
>>> >
>>> > If nil is true
On Monday, 30 January 2017 19:02:08 UTC+11, Sayth Renshaw wrote:
>
>
>
> On Monday, 30 January 2017 18:53:44 UTC+11, Alan Forrester wrote:
>>
>>
>> > Hi
>> >
>> > If nil is true
>> >
>> > clojure-noob.core> (nil? nil)
On Monday, 30 January 2017 18:53:44 UTC+11, Alan Forrester wrote:
>
>
> > Hi
> >
> > If nil is true
> >
> > clojure-noob.core> (nil? nil)
> > true
> >
> > Then why doesn't nil return from this statement as the first true valu
On 30 Jan 2017, at 07:34, Sayth Renshaw wrote:
> Hi
>
> If nil is true
>
> clojure-noob.core> (nil? nil)
> true
>
> Then why doesn't nil return from this statement as the first true value?
This expression is a function invocation. The function is the first it
Hi
If nil is true
clojure-noob.core> (nil? nil)
true
Then why doesn't nil return from this statement as the first true value?
clojure-noob.core> (or false nil true)
true
Sausages does as expected.
clojure-noob.core> (or false "sausages" true)
"sausages"
Th