bug-guile
[Top][All Lists]
Advanced

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

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


From: Erik Dominikus
Subject: bug#43304: (scheme base) "member" should return #f if object is not in list
Date: Thu, 10 Sep 2020 10:46:58 +0700

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





reply via email to

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