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
|
you first have to load the appropriate bytecode archives. After starting a
|
||||||
session, e.g. `ocamldebug your_program.bc`,
|
session, e.g. `ocamldebug your_program.bc`,
|
||||||
|
|
||||||
```
|
```ocaml non-deterministic=command
|
||||||
# load_printer containers_monomorphic.cma
|
# #load_printer containers_monomorphic.cma
|
||||||
# load_printer containers.cma
|
# #load_printer containers.cma
|
||||||
```
|
```
|
||||||
|
|
||||||
For these archives to be found, you may have to `run` the program first. Now
|
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 ->
|
printing functions that have the appropriate type `Format.formatter -> 'a ->
|
||||||
unit` can be installed. For example,
|
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
|
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`.
|
M.pp_int_list`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Change Log
|
## Change Log
|
||||||
|
|
||||||
See [this file](./CHANGELOG.md).
|
See [this file](./CHANGELOG.md).
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue