Martin Norbäck <[EMAIL PROTECTED]> wrote:
> I agree that i18n needs positional arguments.
> What's wrong with simply doing like this:
> 
> printf "I have %. %. %.."    ["trained", show 1, "Jedi"]
> printf "%2. %3. %1. I have." ["trained", show 1, "Jedi"]

Nothing is exceptionally wrong with it, except it's not
as flexible. Since everything is show'n, how would you
handle things like "%5.2f" or "%*d"? In Brian Huffman's
version it's almost trivial to add. I know I can use 
formatDouble and whatnot, but the code looks cluttered
this way. "C" printf has many pitfalls, but I like its
terseness.

-- 
anatoli

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to