You think of an empty list as being indistinguishable from NIL??
> --
> James Reeves
Randall Schulz
I take it that's your way of agreeing with my (implicit) statement that
it is counterintuitive to conflate nothingness with an empty list?
Randall Schulz
> I take it that's your way of agreeing with my (implicit) statement that
> it is counterintuitive to conflate nothingness with an empty list?
yup (sorry for the obtuseness).
Note that this is orthogonal to whether or not cons accepts a
collection as its second argument. Currently it does not, it requires
a seq, the intention being to avoid accidentally using cons when conj
was intended.
cons could call seq on its second argument, and in doing so would be
like the other seq-consuming functions, at the risk mentioned above.
I don't have strong feelings about this last point either way -
feedback welcome.