Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Cross-compiling OCaml
[ 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] Cross-compiling OCaml
On Tuesday 31 August 2004 09:06 am, Erik de Castro Lopo wrote:
> On Tue, 31 Aug 2004 08:29:27 -0500
>
> John Goerzen <jgoerzen@complete.org> wrote:
> > Now, I have complained here on several occasions about the size of
> > the standard OCaml library compared to that of, say, Python.  But
> > I'm doing something about it.  (http://quux.org/devel/missinglib)
>
> John,
>
> Is there a push to get some of that stuff pushed into the
> standard library?

Not AFAIK.  However, I'd be willing to give any code in MissingLib to 
INRIA and let them use it under the OCaml copyright for the purposes of 
putting it into the standard library.  MissingLib is designed to "play 
nicely" with the standard library.  As an example, Extlib uses their 
Enum type to handle a lot of things.  MissingLib uses a standard 
Stream.  Less featureful but more compatible with different things.  So 
it should be easy to integrate if anyone is interested.

The feeling I got from some at INRIA, though, was that they are not 
really interested in expanding the standard library too much for 
various reasons.

> I keep on finding things that I want to do again and again,
> which should be in the standard library but which seem to
> be missing. A couple of examples I have found are:
>
>   - a function to find the intersection of two lists
>   - a function to remove duplicate entries in a list

Both should be fairly easy to accomplish, actually.  If you send me a 
patch, I'd be happy to add it to MissingLib :-)

-- 
John Goerzen
Author, Foundations of Python Network Programming
http://www.complete.org/pynet

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