From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA28197; Fri, 3 May 2002 12:16:04 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA28079 for caml-list@pauillac.inria.fr; Fri, 3 May 2002 12:16:03 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA14839 for ; Thu, 2 May 2002 19:52:36 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from chinon (aboukir-101-1-17-jmarant.adsl.nerim.net [62.212.105.6]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g42HqaX13718 for ; Thu, 2 May 2002 19:52:36 +0200 (MET DST) Received: from jerome by chinon with local (Exim 3.35 #1 (Debian)) id 173Kkt-0000Se-00 for ; Thu, 02 May 2002 19:52:35 +0200 To: caml-list@inria.fr Subject: Re: [Caml-list] printf and scanf References: <20020501180052.GA13445@hell.mine.nu> <20020502102557.A1696@fr.thalesgroup.com> <86r8kulbmk.fsf@laurelin.dementia.org> From: jmarant@nerim.net (=?iso-8859-1?q?J=E9r=F4me?= Marant) Date: Thu, 02 May 2002 19:52:35 +0200 In-Reply-To: <86r8kulbmk.fsf@laurelin.dementia.org> (John Prevost's message of "02 May 2002 13:09:55 -0400") Message-ID: <87d6wezbbw.fsf@marant.org> User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk John Prevost writes: >>>>>> "jm" == Jérôme Marant writes: > Actually, this is not a counter-example, it's just a place where the > current O'Caml format typing rules are insufficient. In this case, > there's a simple reason the two types are different: the formats are > incompatible. What you want is: > > fr: " %d %s" > de: " %2$s %1$d" Well, it was wrong indeed and Pixel gave the reasons. Regards, -- Jérôme Marant http://marant.org ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners