bug#48765: `member` from (scheme base) returns empty list instead of #f when item is not found

Arvydas Silanskas <[email protected]>
Newsgroups gmane.lisp.guile.bugs
Message-ID <CAPh7weC2Npp+CVenAs0FGazC0SJWE=3hbj5r0UpuUOj3U3y_uw@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.