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

Re: SRFI 29 doesn't allow for reordering

This page is part of the web mail archives of SRFI 29 from before July 7th, 2015. The new archives for SRFI 29 contain all messages, not just those from before July 7th, 2015.

Arthur A. Gleckler wrote:
Because it relies on FORMAT, SRFI 29 can't accomodate language ordering variations. In other words, it can't model the fact that one language may require substitutions in a different order than another.
> ...
I would like to recommend changing SRFI 29 to support reordering in a similar manner.

The full Common Lisp format provides re-ordering.  So do some
Scheme implementations of format, include the one in Slib and
the one in Kawa.

#|kawa:1|# (format "Here are ~1@*~a and ~0@*~a!" 'jim 'john)
Here are john and jim!

I suggest that SRFI-28 be extended to support ~N@*.  Alternatively,
one coudl have SRFI-29 require this extension.
	--Per Bothner
per@xxxxxxxxxxx   http://www.bothner.com/per/