From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q3E9kM5F029310 for ; Sat, 14 Apr 2012 11:46:22 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgQCAIxGiU9KN1ZKnGdsb2JhbABFhWavRgEBAQEBCAsSFCeCCgEFIwRSEAsaAhgOAgI9ChAGG4gGBAemH5JZgS+PAjVjBJZ+hE6NPw X-IronPort-AV: E=Sophos;i="4.75,422,1330902000"; d="scan'208";a="154042185" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail1-smtp-roc.national.inria.fr with ESMTP; 14 Apr 2012 11:46:16 +0200 Received: from heyho.local (9-232.197-178.cust.bluewin.ch [178.197.232.9]) by smtp.webfaction.com (Postfix) with ESMTP id 2E12F59A4BE4; Sat, 14 Apr 2012 04:46:13 -0500 (CDT) Date: Sat, 14 Apr 2012 11:46:06 +0200 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: caml-list Cc: Anil Madhavapeddy Message-ID: <84D6DF8E74CA4496A53002D60163619F@erratique.ch> In-Reply-To: References: <83F8677AD5E142A3BB0EC27C78C0658B@erratique.ch> <1341A6A9-0273-434A-BCA9-819DACA53FFF@recoil.org> <8CE84D3ACD2A43659ABB1EF6BAFE8A9A@erratique.ch> X-Mailer: sparrow 1.5 (build 1043.1) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [Caml-list] Non-blocking IO interface design Just a word on naming. I have now gathered all functions specific to `Manual sources and destinations in a Manual submodule by renaming as follows: Codec.decode_src -> Codec.Manual.src Codec.encode_dst -> Codec.Manual.dst Codec.encode_dst_rem -> Codec.Manual.dst_rem The new names are as short and seem as clear to me. Maybe even clearer since the name of the module suggests it should only be used with `Manual sources and destinations. It also makes it easier for non-`Manual users to skip these functions and their documentation. The sample code at http://erratique.ch/repos/nbcodec/ was updated accordingly. Best, Daniel