From 57cb3446b3f4607027062d5456d6fecfc5fdaef1 Mon Sep 17 00:00:00 2001 From: Fardale Date: Fri, 12 Nov 2021 11:42:54 +0100 Subject: [PATCH] add semicolon to ocaml block in the README --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 84bb5555..29850654 100644 --- a/README.md +++ b/README.md @@ -163,8 +163,8 @@ you first have to load the appropriate bytecode archives. After starting a session, e.g. `ocamldebug your_program.bc`, ```ocaml non-deterministic=command -# #load_printer containers_monomorphic.cma -# #load_printer containers.cma +# #load_printer containers_monomorphic.cma;; +# #load_printer containers.cma;; ``` For these archives to be found, you may have to `run` the program first. Now @@ -172,7 +172,7 @@ printing functions that have the appropriate type `Format.formatter -> 'a -> unit` can be installed. For example, ```ocaml non-deterministic=command -# #install_printer Containers.Int.pp +# #install_printer Containers.Int.pp;; ``` However, printer combinators are not easily handled by `ocamldebug`. For @@ -184,7 +184,7 @@ instance ```ocaml non-deterministic=command module M = struct let pp_int_list = Containers.(List.pp Int.pp) -end +end;; ``` loaded via `# load_printer m.cmo` and installed as `# install_printer @@ -398,7 +398,7 @@ val l2 : int list = [1; 2; 3; 4; 5; 6; 7; 8; 9] ```ocaml (* an extension of Map.Make, compatible with Map.Make(CCInt) *) -module IntMap = CCMap.Make(CCInt) +module IntMap = CCMap.Make(CCInt);; ``` ```ocaml