guile-devel
[Top][All Lists]
Advanced

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

Re: i18n, gettext support?


From: Matthias Koeppe
Subject: Re: i18n, gettext support?
Date: Tue, 17 Aug 2004 17:24:30 +0200
User-agent: Gnus/5.110001 (No Gnus v0.1) Emacs/21.3.50 (usg-unix-v)

Andreas Rottmann <address@hidden> writes:

> A related (to i18n) issue: it would be nice to have positional
> argument support in (ice-9 format); e.g.:
>
> (format #t "address@hidden address@hidden" "World!" "Hello")
>
> would print "Hello World!". I just took @ as a position 'prefix',
> since according to the docs, it is not taken yet. Alternative syntax
> suggestions welcome. 

This is already possible with the address@hidden format directive, see
http://www.lispworks.com/reference/HyperSpec/Body/22_cga.htm 

     (format #t "address@hidden address@hidden address@hidden" "World!" "Hello")

(The final address@hidden is necessary because Guile otherwise complains about
"1 superfluous argument". )

-- 
Matthias Koeppe -- http://www.math.uni-magdeburg.de/~mkoeppe




reply via email to

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