mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
update doc and aliases
This commit is contained in:
parent
b42b1f4907
commit
d7214345e5
3 changed files with 7 additions and 3 deletions
|
|
@ -431,7 +431,7 @@ map =
|
||||||
- : string option = Some "33"
|
- : string option = Some "33"
|
||||||
```
|
```
|
||||||
|
|
||||||
### New types: `CCVector`, `CCHeap`, `CCResult`, `CCSexp`
|
### New types: `CCVector`, `CCHeap`, `CCResult`, `CCSexp`, `CCByte_buffer`
|
||||||
|
|
||||||
Containers also contains (!) a few datatypes that are not from the standard
|
Containers also contains (!) a few datatypes that are not from the standard
|
||||||
library but that are useful in a lot of situations:
|
library but that are useful in a lot of situations:
|
||||||
|
|
@ -458,6 +458,10 @@ library but that are useful in a lot of situations:
|
||||||
functorized printer and parser for S-expressions, respectively as
|
functorized printer and parser for S-expressions, respectively as
|
||||||
actual S-expressions (like `sexplib`) and as canonical binary-safe
|
actual S-expressions (like `sexplib`) and as canonical binary-safe
|
||||||
S-expressions (like `csexp`)
|
S-expressions (like `csexp`)
|
||||||
|
- `CCByte_buffer`: a better version of the standard `Buffer.t` which cannot be
|
||||||
|
extended and prevents access to its internal byte array. This type is
|
||||||
|
designed for (blocking) IOs and to produce complex strings incrementally
|
||||||
|
in an efficient way.
|
||||||
|
|
||||||
Now for a few examples:
|
Now for a few examples:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
module Array = CCArray
|
module Array = CCArray
|
||||||
module Bool = CCBool
|
module Bool = CCBool
|
||||||
module Byte_buf = CCByte_buf
|
module Byte_buffer = CCByte_buffer
|
||||||
module Char = CCChar
|
module Char = CCChar
|
||||||
module Equal = CCEqual
|
module Equal = CCEqual
|
||||||
module Either = CCEither
|
module Either = CCEither
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
module Array = CCArrayLabels
|
module Array = CCArrayLabels
|
||||||
module Bool = CCBool
|
module Bool = CCBool
|
||||||
module Byte_buf = CCByte_buf
|
module Byte_buffer = CCByte_buffer
|
||||||
module Char = CCChar
|
module Char = CCChar
|
||||||
module Equal = CCEqualLabels
|
module Equal = CCEqualLabels
|
||||||
module Either = CCEither
|
module Either = CCEither
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue