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

From: Ludovic Courtès <[email-masked]>
Date: Sat, 01 Oct 2022 15:40:18 +0200

Hi,

Jean Abou Samra <[email-masked]> 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 <[email-masked]>
> 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’.