From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA05427 for caml-redistribution; Wed, 1 Mar 2000 18:06:33 +0100 (MET) 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 UAA17511 for ; Tue, 29 Feb 2000 20:06:54 +0100 (MET) Received: from buffalo.ens-lyon.fr (buffalo.ens-lyon.fr [140.77.1.8]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id UAA21954 for ; Tue, 29 Feb 2000 20:06:52 +0100 (MET) Received: from jamaique (jamaique [140.77.191.69]) by buffalo.ens-lyon.fr (8.9.1a/8.9.1) with ESMTP id UAA12393 for ; Tue, 29 Feb 2000 20:06:51 +0100 (MET) Date: Tue, 29 Feb 2000 20:06:51 +0100 (MET) From: Jean-Yves Moyen X-Sender: jymoyen@jamaique Reply-To: Jym To: caml-list@inria.fr Subject: probleme de parsing ? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: weis Bonjour, il y a apparamment un probleme de parsing des chaines dans la fonction int_of_string : les espaces precedents (ou suivant) les nombres ne sont pas eliminer. En revanche, il le sont dans la fonction float_of_string : # int_of_string " 5";; Uncaught exception: Failure("int_of_string") #float_of_string " 5";; - : float = 5 (avec Ocaml 2.04) Est-ce voulu ? Si oui, pourquoi avoir introduit cette difference ? Hypocoristiquement, Jym.