mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
fix: change container.data to container-data in README.md
This commit is contained in:
parent
383baf4464
commit
663416b350
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
|
@ -590,19 +590,19 @@ where `type walk_item = [ ``Dir | ``File ] * string` is a path
|
|||
paired with a flag distinguishing files from directories.
|
||||
|
||||
|
||||
### To go further: `containers.data`
|
||||
### To go further: `containers-data`
|
||||
|
||||
There is also a sub-library called `containers.data`, with lots of
|
||||
There is also a library called `containers-data`, with lots of
|
||||
more specialized data-structures.
|
||||
The documentation contains the API for all the modules; they also provide
|
||||
interface to `iter` and, as the rest of containers, minimize
|
||||
dependencies over other modules. To use `containers.data` you need to link it,
|
||||
either in your build system or by `#require containers.data;;`
|
||||
dependencies over other modules. To use `containers-data` you need to link it,
|
||||
either in your build system or by `#require containers-data;;`
|
||||
|
||||
A quick example based on purely functional double-ended queues:
|
||||
|
||||
```ocaml
|
||||
# #require "containers.data";;
|
||||
# #require "containers-data";;
|
||||
# #install_printer CCFQueue.pp;; (* better printing of queues! *)
|
||||
|
||||
# let q = CCFQueue.of_list [2;3;4] ;;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue