guile-user
[Top][All Lists]
Advanced

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

format of ice-9


From: soo
Subject: format of ice-9
Date: Wed, 06 Oct 2004 21:40:11 +0900
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1

Hi,

The format of format.scm shows a different behavior from the format of
boot-9.scm.

guile> (version)
"1.6.5"
guile> (format #f "~a" '(symbol "str" #\c 123))
"(symbol str c 123)"
guile> (format #f "~s" '(symbol "str" #\c 123))
"(symbol \"str\" #\\c 123)"
guile> (use-modules (ice-9 format))
guile> (format #f "~a" '(symbol "str" #\c 123))
"(symbol \"str\" #\\c 123)"
guile> (format #f "~s" '(symbol "str" #\c 123))
"(symbol \"str\" #\\c 123)"

--






reply via email to

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