mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-07 03:35:30 -05:00
prepare for 2.0
This commit is contained in:
parent
44f6c748aa
commit
6b9f39d224
2 changed files with 14 additions and 3 deletions
|
|
@ -10,7 +10,7 @@
|
|||
by `include CCMonomorphic` in `Containers` module
|
||||
* Shadow the physical equality operator
|
||||
* Shadow polymorphic functions in `CCList`
|
||||
- rename `print` to `pp` for Format printers (closes #153)
|
||||
- rename `print` to `pp` for Format printers (closes #153, #181)
|
||||
- remove `CCFlatHashtbl`
|
||||
|
||||
=== others
|
||||
|
|
@ -22,6 +22,17 @@
|
|||
- Avoid uses of the polymorphic operators
|
||||
- Add a `CCMonomorphic` module shipped into a `containers.monomorphic` library
|
||||
- make complexity of `Array.lookup` explicit (closes #174)
|
||||
- add `CCFormat.lazy_{or,force}` for printing thunks
|
||||
- now that ocaml >= 4.02 is required, use `Format.pp_print_text` directly
|
||||
- add `CCHeap.delete_{one,all}`
|
||||
- add `CCList.tail_opt`
|
||||
|
||||
|
||||
- remove qtest makefile and use a script instead
|
||||
- add many tests
|
||||
- fix bug in `CCRAL.drop` (see #184)
|
||||
- `CCFormat`: fix support of unrecognized styles
|
||||
- fix bug: don't reverse twice in `CCList.repeat`
|
||||
|
||||
== 1.5.1, 1.5.2
|
||||
|
||||
|
|
|
|||
|
|
@ -131,12 +131,12 @@ val some : 'a printer -> 'a option printer
|
|||
|
||||
val lazy_force : 'a printer -> 'a lazy_t printer
|
||||
(** [lazy_force pp out x] forces [x] and prints the result with [pp]
|
||||
@since NEXT_RELEASE *)
|
||||
@since 2.0 *)
|
||||
|
||||
val lazy_or : ?default:unit printer -> 'a printer -> 'a lazy_t printer
|
||||
(** [lazy_or ?default pp out x] prints [default] if [x] is not
|
||||
evaluated yet, or uses [pp] otherwise
|
||||
@since NEXT_RELEASE *)
|
||||
@since 2.0 *)
|
||||
|
||||
(** {2 ANSI codes}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue