unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#48765: `member` from (scheme base) returns empty list instead of #f when item is not found
@ 2021-05-31 21:07 Arvydas Silanskas
  2021-05-31 21:44 ` dsmich
  0 siblings, 1 reply; 4+ messages in thread
From: Arvydas Silanskas @ 2021-05-31 21:07 UTC (permalink / raw)
  To: 48765

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

Default `member` works fine:

$ guile
> (member 'a '(b))
$1 = #f

However, using scheme base it returns empty list

$ guile --r7rs
> (import (scheme base))
> (member 'a '(b))
$1 = ()

Other functions (memq, memv) seem to work fine.
I am using version 3.0.5 as distributed by debian bullseye

[-- Attachment #2: Type: text/html, Size: 504 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-16  2:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31 21:07 bug#48765: `member` from (scheme base) returns empty list instead of #f when item is not found Arvydas Silanskas
2021-05-31 21:44 ` dsmich
2021-06-01  0:49   ` Taylan Kammer
2021-07-16  2:22     ` Rob Browning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).