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 HAA04163; Thu, 25 Apr 2002 07:35:38 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id HAA04270 for ; Thu, 25 Apr 2002 07:35:37 +0200 (MET DST) Received: from relay.pair.com (relay1.pair.com [209.68.1.20]) by concorde.inria.fr (8.11.1/8.11.1) with SMTP id g3P5ZaT14625 for ; Thu, 25 Apr 2002 07:35:36 +0200 (MET DST) Received: (qmail 90266 invoked from network); 25 Apr 2002 05:35:34 -0000 Received: from adsl-host-sf-228.apexworld.net (HELO checkerlap.d6.com) (66.114.212.228) by relay1.pair.com with SMTP; 25 Apr 2002 05:35:34 -0000 X-pair-Authenticated: 66.114.212.228 Message-Id: <4.3.2.7.2.20020424222749.02d10a90@mail.d6.com> X-Sender: checker@mail.d6.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 24 Apr 2002 22:30:48 -0700 To: Jacques Garrigue , chrzaszcz@mimuw.edu.pl From: Chris Hecker Subject: pervasives (was: Re: [Caml-list] How to read three integers from a text-file... ?) Cc: caml-list@inria.fr In-Reply-To: <20020424201616Z.garrigue@kurims.kyoto-u.ac.jp> References: <15557.14957.358556.545541@absurd.mimuw.edu.pl> <15557.14957.358556.545541@absurd.mimuw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I was about to answer, "why not just use read_int in a loop from the in_channel?", but then I looked and it's only defined on stdin (as is read_float). read_line has input_line, but the others aren't symmetric. Can we fix this and add input_int and input_float to Pervasives? Relatively minor, but annoying to emulate. Chris ------------------- 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