[
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: | Dario Teixeira <darioteixeira@y...> |
| Subject: | Re: [Caml-list] Ocamlbuild with findlib + camlp4 |
> >
> > 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
Cheers,
Dario
___________________________________________________________
Rise to the challenge for Sport Relief with Yahoo! For Good
http://uk.promotions.yahoo.com/forgood/