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)

Re: LENGTH+ implementation accepts dotted list Marc Nieper-Wißkirchen 13 Nov 2022 11:40 UTC

I also have needed a procedure like `length+` that works on dotted lists.

It should probably be a different one than `length+` so that `length+`
can continue to signal an error (so one would use that when dotted
lists should not be present).

Am So., 13. Nov. 2022 um 12:24 Uhr schrieb Chris Hanson <xxxxxx@chris-hanson.org>:
>
> 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. :)
>
>