From 3e6830a294019323ef897cb93c2ef55c2d106032 Mon Sep 17 00:00:00 2001 From: Guillaume Claret Date: Tue, 17 Dec 2013 22:43:10 +0100 Subject: [PATCH] Update README.md --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index adc035f..c3feb6b 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,16 @@ Inspired by [PPrint](http://gallium.inria.fr/~fpottier/pprint/) of [François Po Install ------- -Download and run: +Using the package manager [OPAM](http://opam.ocaml.org/): + + $ opam install smart-print + +Else download the sources and run: $ make # make install -You can also `make doc` and `make test`. To compile your program with SmartPrint: +You can also `make doc` and `make test`. To compile your programs with SmartPrint: $ ocamlbuild my_program.native -libs smart_print @@ -194,7 +198,7 @@ writes: (fdsgo (x xdsdg))) in y -To display the `Tuple` we need repetition. It is possible to cheat using `OCaml.list`: +To display the `Tuple` we need repetition. It is possible to cheat using `OCaml.list` to print a list in OCaml's syntax: ```ocaml let rec pp (e : t) : SmartPrint.t =