[
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: | 2008-03-10 (07:50) |
From: | Nicolas Pouillard <nicolas.pouillard@g...> |
Subject: | Re: [Caml-list] Ocamlbuild with findlib + camlp4 |
Excerpts from Dario Teixeira's message of Fri Mar 07 17:12:16 +0100 2008: > > > > > > let packages = > > > Findlib.init (); > > > Fl_package_base.list_packages () > > > > Great idea! > > > > Does these functions exists? > > Hi, > > Of course! The following is a valid Ocaml programme that will > list all packages available via findlib: (you must link in > findlib.cma of course) > > let () = > Findlib.init (); > let pkgs = Fl_package_base.list_packages () in > List.iter print_endline pkgs Nice! Apart the link with findlib.cma that is not supported yet and could be with the multiple-plugins support in ocamlbuild. I think that one can easily build a generic plugin for ocamlfind packages. -- Nicolas Pouillard aka Ertai