Look at the following Guile behaviour:

    guile> (format #t "~A\n" '("x"))
    (x)
    guile> (format #t "~S\n" '("x"))
    ("x")
    guile> (use-modules (ice-9 format))
    guile> (format #t "~A\n" '("x"))
    ("x")
    #t
    guile> (format #t "~S\n" '("x"))
    ("x")
    #t
    guile> 

I think it is wrong that the builtin format and the extended format
behave differently.  In my opinion, the builtin format is correct (and
agrees with Common Lisp format).

The problem with ice-9/format is that it doesn't pass its `slashify'
parameter when recursing to print the elements of a list.  It always
sets `slashify' to #t when recursing.

If nobody objects, I'll fix ice-9/format.scm to behave like the
builtin format.


Reply via email to