Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
clarus committed Dec 17, 2013
1 parent c7d7124 commit 3e6830a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 =
Expand Down

0 comments on commit 3e6830a

Please sign in to comment.