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

Previous Next

Package: guile;

Reported by: Arvydas Silanskas <nma.arvydas.silanskas <at> gmail.com>

Date: Mon, 31 May 2021 21:10:02 UTC

Severity: normal

Done: Rob Browning <rlb <at> defaultvalue.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Arvydas Silanskas <nma.arvydas.silanskas <at> gmail.com>
Subject: bug#48765: closed (Re: bug#48765: `member` from (scheme base)
 returns empty list instead of #f when item is not found)
Date: Fri, 16 Jul 2021 02:23:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

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 48765 <at> debbugs.gnu.org.

-- 
48765: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48765
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Rob Browning <rlb <at> defaultvalue.org>
To: 48765-done <at> debbugs.gnu.org
Subject: Re: bug#48765: `member` from (scheme base) returns empty list
 instead of #f when item is not found
Date: Thu, 15 Jul 2021 21:22:41 -0500
Taylan Kammer <taylan.kammer <at> gmail.com> writes:

> Closing this report but feel free to ask further questions.

Looks like the first attempt didn't take.  Trying again.

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4

[Message part 3 (message/rfc822, inline)]
From: Arvydas Silanskas <nma.arvydas.silanskas <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: `member` from (scheme base) returns empty list instead of #f when
 item is not found
Date: Tue, 1 Jun 2021 00:07:39 +0300
[Message part 4 (text/plain, inline)]
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
[Message part 5 (text/html, inline)]

This bug report was last modified 3 years and 309 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.