[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lists, plain conses and length
From: |
T.V Raman |
Subject: |
Re: lists, plain conses and length |
Date: |
Fri, 4 Sep 2020 07:19:05 -0700 |
In the spirit of the US election campaign, if it isn't shown to be
true, it must be false -- if it's shown to be false, it must be fake ...Stefan
Monnier writes:
> > Q: how does one distinguish a cons from a list.
>
> A: check `null`
>
> (tongue in cheek)
>
>
> Stefan
>
>
> PS: Hint: `(listp X)` is the same as `(or (consp X) (null X))`
--
♉Id: kg:/m/0285kf1 🦮♉
--
♉Id: kg:/m/0285kf1 🦮♉