mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
doc: small change to readme
This commit is contained in:
parent
c92a09ac9d
commit
bcb90de435
1 changed files with 5 additions and 6 deletions
11
README.md
11
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).
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue