Email list hosting service & mailing list manager

LENGTH+ implementation accepts dotted list Chris Hanson (13 Nov 2022 11:24 UTC)
Re: LENGTH+ implementation accepts dotted list Marc Nieper-Wißkirchen (13 Nov 2022 11:41 UTC)
Re: LENGTH+ implementation accepts dotted list Lassi Kortela (13 Nov 2022 15:29 UTC)
Re: LENGTH+ implementation accepts dotted list Shiro Kawai (18 Nov 2022 09:40 UTC)

LENGTH+ implementation accepts dotted list Chris Hanson 13 Nov 2022 11:24 UTC

I was looking for a procedure that returns the length of the spine of a dotted
list, and saw that length+ will do this. But according to the SRFI it’s not a
valid argument. And a brief search through the archives reveals a message from
Olin stating that it should signal an error if given such an argument, as most
list procedures do.

There are several ways to resolve this, including doing nothing. I don’t have
a strong opinion on the right action, though obviously in my current situation
I’d like it to work on dotted lists. :)