Subject: bug#43304: closed ((scheme base) "member" should return #f if object is not in list)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 12 May 2021 20:16:02 +0000

Your bug report

#43304: (scheme base) "member" should return #f if object is not in list

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
43304: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43304
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: (scheme base) "member" should return #f if object is not in list
From: Taylan Kammer <[email-masked]>
To: [email-masked]
Date: Wed, 12 May 2021 22:15:04 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 3.0.6

Subject: (scheme base) "member" should return #f if object is not in list
From: Erik Dominikus <[email-masked]>
To: [email-masked]
Date: Thu, 10 Sep 2020 10:46:58 +0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Dear Guile authors,

I would like to report an issue:

Version: Guile 3.0.2 (but should also apply to master; Git says the
"member" in module/scheme/base.scm hasn't changed since October 2019)

How to reproduce: Run "guile" and then type this:

((@ (scheme base) member) 0 '(1))

Expected: #f

Actual: ()

Reason: page 43 of R7RS-small https://small.r7rs.org/attachment/r7rs.pdf
"If obj does not occur in list, then #f (not the empty list) is returned."

Thank you.

Best regards,

Erik