GNU bug report logs - #40584
R7RS string-for-each does not work two or more strings on its argument

Previous Next

Package: guile;

Reported by: OKUMURA Yuki <mjt <at> cltn.org>

Date: Sun, 12 Apr 2020 19:55:02 UTC

Severity: normal

Tags: patch

Done: lloda <lloda <at> sarc.name>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: OKUMURA Yuki <mjt <at> cltn.org>
To: bug-guile <at> gnu.org
Subject: R7RS string-for-each does not work two or more strings on its argument
Date: Mon, 13 Apr 2020 04:38:58 +0900
Hi,

Actually it's my own bug but let me report here: (scheme base) lacks
implementation for string-for-each thus following code does not work;

(import (scheme base))

(string-for-each
  (lambda (e f) 'ok)
  "01234"
  "slas")

Please note that we already have incompatible string-for-each for
SRFI-13 and R6RS.
(It seems current (scheme base) uses SRFI-13 one)
R7RS for-each (and map) procedures allow different length of
collection as arguments.

Checked on 2b4e45ca1b89a942200b7b9f46060dddc44d2876




This bug report was last modified 1 year and 234 days ago.

Previous Next


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