From: Yamagata Y. <yor...@mb...> - 2004-01-22 02:34:05
|
From: "Nicolas Cannasse" <war...@fr...> Subject: Re: [Ocaml-lib-devel] Re: Abstract IO Date: Wed, 21 Jan 2004 17:34:40 +0100 > I had a look at it but it's a different approach than my proposal. You're > actually restricting the IO's to char/string IO while I'm proposing to have > generics IO that can write/read anything ( chars and strings, but also > tokens, lists, ... ). Ok, I had a quick look. I think, 1) Output channels lack flush operation. Is that ok? 2) There would be pros and cons, but maybe objects (not abstract types) are more fitted to channels. It makes extension easier, for example. 3) I'd like to see filter type. (Btw, If you attachs sources as Text/Plain, not Application/Octetstream, then it makes viewing more easier.) -- Yamagata Yoriyuki |