On 01/04/2012 08:30 AM, Diego Olivier Fernandez Pons wrote:
I think the biggest thing the community can do to improve OCaml is
not to tweak around with language design. It's to improve the
library packaging situation.
Then just do it.
I have, and the result is odb[1]. It backends with oasis-db[2], meaning
if you upload your oasis package, it will be installable via odb,
including deps. After finding out about barbra[3], a similar project
with a different starting point, I stole many of their good ideas, and
now have support for a local `packages` file that provides metadata for
packages not available through oasis-db. This packages file allows
installation of packages available from arbitrary URLs (anything
curl-able), git, svn, cvs, hg, darcs, as well as local directories.
For a large number of package examples (plus non-examples of packages
that fail to auto-install through make/omake/oasis), look here:
https://github.com/thelema/odb/blob/master/packages
Contributions of additional packages welcome, fixes to the programs that
don't auto-install (See the bottom half of the packages file) are doubly
welcome.
E.
[1] https://github.com/thelema/odb
[2] http://oasis.forge.ocamlcore.org/oasis-db.html and
http://oasis.ocamlcore.org/dev/odb/
[3] still in stealth mode, maybe I shouldn't have stolen their thunder
by mentioning them
--
Caml-list mailing list. Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs