From 6b9f39d2240b22a82a2167dee7d27c169ba530a6 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Sun, 11 Feb 2018 09:57:06 -0600 Subject: [PATCH] prepare for 2.0 --- CHANGELOG.adoc | 13 ++++++++++++- src/core/CCFormat.mli | 4 ++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index aa9a6e2e..7e766c84 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -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 diff --git a/src/core/CCFormat.mli b/src/core/CCFormat.mli index 1fa0cdfe..8b2e5ffd 100644 --- a/src/core/CCFormat.mli +++ b/src/core/CCFormat.mli @@ -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}