Open da-tubi opened 9 months ago
Isn't this a dup of #1694?
Not precisely a dup, because we have a different opinion on cons
and conj
.
Not precisely a dup, because we have a different opinion on cons and conj.
It is precisely a dup because both issues propose a more efficient mechanism for prepending to a list. The question is how that should be achieved. While I expressed a preference for naming an explicit command for doing so prepend
rather than cons
, in issue #1694, that is irrelevant to the question of whether there should be an explicit command for doing so.
cons
is similar toconj
.Why we need
cons
? For example:For
$paths
, the order is crucial.