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 XAA22278; Mon, 26 Apr 2004 23:14:17 +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 XAA21828 for ; Mon, 26 Apr 2004 23:14:15 +0200 (MET DST) Received: from gatekeeper.elmer.external.excelhustler.com (gatekeeper.excelhustler.com [68.99.114.105]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i3QLEEYM019668 for ; Mon, 26 Apr 2004 23:14:14 +0200 Received: from chatterbox.elmer.internal.excelhustler.com (unknown [192.168.0.12]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "chatterbox.elmer.internal.excelhustler.com", Issuer "excelhustler.com" (not verified)) by gatekeeper.elmer.external.excelhustler.com (Postfix) with ESMTP id 3BAEEE01F4; Mon, 26 Apr 2004 16:14:14 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP id 07A405C005; Mon, 26 Apr 2004 16:14:14 -0500 (CDT) Received: from wile.internal.excelhustler.com (wile.internal.excelhustler.com [192.168.1.34]) by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP id D2E445C004; Mon, 26 Apr 2004 16:14:13 -0500 (CDT) Received: by wile.internal.excelhustler.com (Postfix, from userid 1000) id CCB5A3408F; Mon, 26 Apr 2004 16:14:13 -0500 (CDT) Date: Mon, 26 Apr 2004 16:14:13 -0500 From: John Goerzen To: Gerd Stolpmann Cc: Nicolas Cannasse , Yamagata Yoriyuki , caml-list@inria.fr Subject: Re: [Caml-list] Re: Common IO structure Message-ID: <20040426211413.GA19147@excelhustler.com> References: <00cb01c42afd$7fc1b430$19b0e152@warp> <20040426.221606.71081508.yoriyuki@mbg.ocn.ne.jp> <015701c42b9a$00065730$ef01a8c0@warp> <20040427.002643.78700697.yoriyuki@mbg.ocn.ne.jp> <016401c42bc4$b6438840$19b0e152@warp> <1083013017.8842.327.camel@ice.gerd-stolpmann.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1083013017.8842.327.camel@ice.gerd-stolpmann.de> User-Agent: Mutt/1.5.5.1+cvs20040105i X-Scanned-By: clamscan at chatterbox.elmer.internal.excelhustler.com 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 gerd:01 stolpmann:01 incompatible:01 unicode:01 byte:01 0200,:01 sockets:01 wrote:03 library:03 suspect:05 suspect:05 output:05 structure:06 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, Apr 26, 2004 at 10:56:59PM +0200, Gerd Stolpmann wrote: > I would suggest to adopt the names "input", "output", "close_in", > "close_out" of the standard library, as users are already familiar with > them, and this functionality is already quite powerful. Of course, this > is only reasonable for byte channels, not for Unicode channels. Don't those names seem incompatible with read/write files and bidirectional channels such as network sockets? (Ok, so close_in and close_out could be mapped to shutdown(2) in the latter case, but I very much suspect that would NOT be what a programmer woudl suspect...) ------------------- 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