From bcb90de435d53e7ccf1e15273eb3c5cd8d713273 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Sat, 14 Dec 2019 14:22:35 -0600 Subject: [PATCH] doc: small change to readme --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c8378c2b..b18bc559 100644 --- a/README.md +++ b/README.md @@ -116,17 +116,17 @@ To print values with types defined in `containers` in the bytecode debugger, you first have to load the appropriate bytecode archives. After starting a session, e.g. `ocamldebug your_program.bc`, -``` -# load_printer containers_monomorphic.cma -# load_printer containers.cma +```ocaml non-deterministic=command +# #load_printer containers_monomorphic.cma +# #load_printer containers.cma ``` For these archives to be found, you may have to `run` the program first. Now printing functions that have the appropriate type `Format.formatter -> 'a -> unit` can be installed. For example, -``` -# install_printer Containers.Int.pp +```ocaml non-deterministic=command +# #install_printer Containers.Int.pp ``` However, printer combinators are not easily handled by `ocamldebug`. For @@ -145,7 +145,6 @@ loaded via `# load_printer m.cmo` and installed as `# install_printer M.pp_int_list`. - ## Change Log See [this file](./CHANGELOG.md).