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 TAA07410; Wed, 5 May 2004 19:33:42 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA06934 for ; Wed, 5 May 2004 19:33:41 +0200 (MET DST) Received: from fed1rmmtao05.cox.net (fed1rmmtao05.cox.net [68.230.241.34]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i45HXdEV004195 for ; Wed, 5 May 2004 19:33:40 +0200 Received: from server.vns.oc.ca.us ([68.5.38.56]) by fed1rmmtao05.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040505173336.NPNP17206.fed1rmmtao05.cox.net@server.vns.oc.ca.us>; Wed, 5 May 2004 13:33:36 -0400 Received: from server.vns.oc.ca.us (ef4bd5bcba641631be9fb04aa81e181a@localhost.vns.oc.ca.us [127.0.0.1]) by server.vns.oc.ca.us (8.12.9p2/8.12.6) with ESMTP id i45HXa7k072614; Wed, 5 May 2004 10:33:36 -0700 (PDT) (envelope-from vns@server.vns.oc.ca.us) Received: (from vsilyaev@localhost) by server.vns.oc.ca.us (8.12.9p2/8.12.6/Submit) id i45HXaR0072613; Wed, 5 May 2004 10:33:36 -0700 (PDT) Date: Wed, 5 May 2004 10:33:36 -0700 From: "Vladimir N. Silyaev" To: Yamagata Yoriyuki Cc: ben@socialtools.net, caml-list@inria.fr Subject: Re: [Caml-list] Re: Common IO structure Message-ID: <20040505173336.GB72564@server.vns.oc.ca.us> References: <20040503061212.GA64216@server.vns.oc.ca.us> <40980BA2.1010102@socialtools.net> <20040505.075919.41627374.yoriyuki@mbg.ocn.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040505.075919.41627374.yoriyuki@mbg.ocn.ne.jp> User-Agent: Mutt/1.4.1i X-Miltered: at nez-perce with ID 40992573.000 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 incompatible:01 facto:01 ocamlnet:01 ocamlnet:01 extlib:01 model:01 camomile:01 ocaml:01 05,:01 interfaces:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, May 05, 2004 at 07:59:19AM +0900, Yamagata Yoriyuki wrote: > > Vladimir N. Silyaev wrote: > > > If you felt interested, please look into the attached file io.ml. > > > > This looks like a good start to me; what do others think? > > Our problem is having too many incompatible IO system, not the lack of > IO. So, what we need is the standard, not the code. > > Of course, if some IO library is widespread, then it will become de > facto standard. I advise you to look existing IO systems for smooth > integration/migration. In particular, the IO system of ocamlnet > deserves a close look, because it is well thought and widly used. That's essentially correct. Ocaml community is not that large and number of people are willing to contribute time into the project is rather limited. So in order for whatever new way of doing IO be successive it shall be: a - simple b - compatible with existing codebase Simplicity it's exactly an issue with I/O in ocamlnet and extlib - interfaces are too rich, there is many different methods and classes. Surely that model works quite well for the given project and probably there is not much sense to rewrite implementation. But that's not required nor that important, important part is interoperability between projects, so output of ocamlnet.Cgi could be feed to camomile.Utf8. And it might be possible to agree on very limited interface, what doesn't exposes all richness and features of many different modules, but allows connect different modules together and supports future extensions. -- Vladimir ------------------- 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