[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: procedure to check equality of list-elements

From: Thomas Morley
Subject: Re: procedure to check equality of list-elements
Date: Sun, 6 Nov 2022 16:57:23 +0100

Am So., 6. Nov. 2022 um 13:39 Uhr schrieb Jean Abou Samra <>:
> Le 06/11/2022 à 13:27, Thomas Morley a écrit :
> > Ofcourse not, though you need to know that the chosen proc is suitable
> > for the task.
> > For me eqv? was always meant to work with exactly two values, like cons.
> > But (apply cons '(1 2 3)) fails ofcourse.
> >
> > In the past I searched the guile-manual and our own lilbrary to get a
> > procedure testing equality of list-elements. To no avail. So I ended
> > up defining some custom-recursion...
> > Having a named (and documented) procedure would probably have helped.
> To me that sounds more like you should submit a doc patch to Guile
> so that the Guile doc doesn't say eqv? et al. apply to two elements
> only.

For the record, patch at
Jean's improvements in the follow up.

Thanks Jean again,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]