bug-guile
[Top][All Lists]
Advanced

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

bug#58109: simple-format vs (ice-9 format) bug in 3.0.7?


From: Ludovic Courtès
Subject: bug#58109: simple-format vs (ice-9 format) bug in 3.0.7?
Date: Sat, 01 Oct 2022 15:40:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

Hi,

Jean Abou Samra <jean@abou-samra.fr> skribis:

> Uh, at the end of module/ice-9/format.scm, there is
>
> ;; Thanks to Shuji Narazaki
> (module-set! the-root-module 'format format)
>
> which dates back to
>
> commit 14469b7c69feb0f2c5b8a093f19fe2a548b31c5b
> Author: Greg J. Badros <gjb@cs.washington.edu>
> Date:   Thu Jan 20 20:58:30 2000 +0000

[...]

> This probably predates #:replace and could be removed now, right?

Yes, it could be removed, but probably not before the 4.0 series.

The ‘-Wformat’ warning introduced sometime in the 2.0 or 2.2 series
prepared for that removal by warning about simple-format/format
mismatches, but there’s probably still code out there that assumes
‘format’ is the full-blown ‘format’, even when (ice-9 format) is not
explicitly imported.

Thanks,
Ludo’.





reply via email to

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