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: Arvydas Silanskas <nma.arvydas.silanskas <at> gmail.com>
To: 48765 <at> debbugs.gnu.org
Subject: bug#48765: `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 1 (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 2 (text/html, inline)]

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

Previous Next


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