Version française
Home     About     Download     Resources     Contact us    
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 Thu, Apr 29, 2004 at 04:10:46PM +0100, Benjamin Geer wrote:
> This is why I'm pleading for a layered API, so that character encoding, 
> buffering, compression, encryption, and any other optional processing 

But you do not need a Java-esque API to do that.  All you need is a
standardized File object.  You could instantiate one of these by opening
a file.  Or perhaps by passing an existing object to the initializer for
a gzip decompressor or a Unicode processor.  ExtLib in CVS has one
approach to this.  I'd prefer to use OCaml's object system myself.

Perhaps I'll write up a proof-of-concept for missinglib...

-- John

-------------------
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