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 FAA01310; Wed, 28 Apr 2004 05:38:46 +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 FAA01913 for ; Wed, 28 Apr 2004 05:38:45 +0200 (MET DST) Received: from glockenspiel.complete.org (glockenspiel.complete.org [69.10.152.57]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i3S3ciYM005055 for ; Wed, 28 Apr 2004 05:38:44 +0200 Received: from localhost (localhost [127.0.0.1]) by glockenspiel.complete.org (Postfix) with ESMTP id 559A82FC; Tue, 27 Apr 2004 22:38:47 -0500 (CDT) Received: from glockenspiel.complete.org ([127.0.0.1]) by localhost (glockenspiel [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 09489-02; Tue, 27 Apr 2004 22:38:45 -0500 (CDT) Received: from erwin.complete.org (unknown [12.149.180.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "erwin.complete.org", Issuer "John Goerzen -- Root CA" (verified OK)) by glockenspiel.complete.org (Postfix) with ESMTP id 868662F6; Tue, 27 Apr 2004 22:38:45 -0500 (CDT) Received: from heinrich.complete.org (heinrich.lan.complete.org [10.200.0.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "christoph.complete.org", Issuer "John Goerzen -- Root CA" (verified OK)) by erwin.complete.org (Postfix) with ESMTP id 93982780; Tue, 27 Apr 2004 22:38:38 -0500 (CDT) Received: by heinrich.complete.org (Postfix, from userid 1000) id CBC4ABFB; Tue, 27 Apr 2004 22:39:19 -0500 (CDT) Date: Tue, 27 Apr 2004 22:39:19 -0500 From: John Goerzen To: Yamagata Yoriyuki Cc: warplayer@free.fr, caml-list@inria.fr Subject: Re: [Caml-list] Re: Common IO structure Message-ID: <20040428033919.GA19564@complete.org> References: <016401c42bc4$b6438840$19b0e152@warp> <20040428.004358.45522587.yoriyuki@mbg.ocn.ne.jp> <016501c42c73$24e64b30$ef01a8c0@warp> <20040428.015800.126758722.yoriyuki@mbg.ocn.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040428.015800.126758722.yoriyuki@mbg.ocn.ne.jp> User-Agent: Mutt/1.5.5.1+cvs20040105i X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at complete.org X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 2004:99 0900,:01 yamagata:01 yoriyuki:01 cannasse:01 warplayer:01 caml-list:01 2004:99 char:01 char:01 dismiss:01 nicolas:01 unix:02 suited:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, Apr 28, 2004 at 01:58:00AM +0900, Yamagata Yoriyuki wrote: > From: "Nicolas Cannasse" > Subject: Re: [Caml-list] Re: Common IO structure > Date: Tue, 27 Apr 2004 18:17:32 +0200 > > > As someone told, read/write concepts are used in most of other languages > > (including Java, C, and many others). > > read/write of Unix are block-wise operations. They are not suited for They can also be used for character-at-a-time operations. > names for element-wise operations. get/put come from > get_char/put_char of C. Maybe would get_element/put_element be > better? But anyway, why dismiss the block-wise operations? They're still useful. -- John ------------------- 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