Browse thread
[Caml-list] Cross-compiling OCaml
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jon Harrop <jon@j...> |
| Subject: | Re: [Caml-list] Cross-compiling OCaml |
On Tuesday 31 August 2004 16:54, John Goerzen wrote: > ... > 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 am under the impression that French Copyright laws make this difficult. IIRC, there was a post by Xavier long ago... Would it be a good idea to have a replacement instead of a supplement? Indeed, is this unfeasible because of name clashes with the core library, i.e. would you need to provide the functionality of the core library and compile ocamlopt against it? I would certainly be interested in contributing to either INRIA's core or an alternative. I'd want to encapsulate things properly though - no good having lots of erratically named modules for the same thing, e.g. List, Listutils, MyList, MyOtherList, and having to remember which function is where. My list of unambiguous missing functions currently stands at: - List.mapi and List.rev_mapi - Chop a list into two sublists at a given index - List.sub (equivalent to Array.sub) - Array.map2, fold_left2, fold_right2, mem, for_all and for_all2 - Random.array (or something) to randomise the order of the elements of an array I think Jacques wrote an OO library which was intended to be used as the basis for derived work, such as this. I'm not sure what the implications of using objects rather than modules are though (e.g. performance). Maybe I should give it a go... Cheers, Jon. ------------------- 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