Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] [ANN] The Missing Library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: John Goerzen <jgoerzen@c...>
Subject: Re: [Caml-list] Re: Common IO structure
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 Archives:
Bug reports: FAQ:
Beginner's list: