English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] printf and scanf
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-05-03 (10:16)
From: jmarant@n...
Subject: Re: [Caml-list] printf and scanf
John Prevost <visigoth@cs.cmu.edu> writes:

>>>>>> "jm" == Jérôme Marant <jerome.marant@free.fr> 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.


Jérôme Marant

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