mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
version 0.9
This commit is contained in:
parent
c5354c792e
commit
95295b834c
10 changed files with 29 additions and 9 deletions
20
CHANGELOG.md
20
CHANGELOG.md
|
|
@ -1,5 +1,25 @@
|
|||
# Changelog
|
||||
|
||||
## 0.9
|
||||
|
||||
- add `Float`, `Ref`, `Set`, `Format` to `CCPervasives`
|
||||
- `CCRingBuffer.append` (simple implementation)
|
||||
- `containers.data` now depends on bytes
|
||||
- new `CCRingBuffer` module, imperative deque with batch (blit) operations,
|
||||
mostly done by Carmelo Piccione
|
||||
- new `Lwt_pipe` and `Lwt_klist` streams for Lwt, respectively (un)bounded
|
||||
synchronized queues and lazy lists
|
||||
- `CCKTree.print`, a simple S-expressions printer for generic trees
|
||||
- Add `CCMixmap` in containers.data (close #40), functional alternative to `CCMixtbl`
|
||||
- remove old META file
|
||||
- simplified `CCTrie` implementation
|
||||
- use "compiledObject: best" in `_oasis` for binaries
|
||||
- document some invariants in `CCCache` (see #38)
|
||||
- tests for `CCCache.lru`
|
||||
- fix `CCFormat.seq` combinator
|
||||
- add `CCSet` module in core/
|
||||
- add `CCRef` module in core/
|
||||
|
||||
## 0.8
|
||||
|
||||
- add `@Emm` to authors
|
||||
|
|
|
|||
2
_oasis
2
_oasis
|
|
@ -1,6 +1,6 @@
|
|||
OASISFormat: 0.4
|
||||
Name: containers
|
||||
Version: 0.8
|
||||
Version: 0.9
|
||||
Homepage: https://github.com/c-cube/ocaml-containers
|
||||
Authors: Simon Cruanes
|
||||
License: BSD-2-clause
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
(** {1 References}
|
||||
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.9 *)
|
||||
|
||||
type 'a print = Format.formatter -> 'a -> unit
|
||||
type 'a pp = Buffer.t -> 'a -> unit
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
*)
|
||||
|
||||
(** {1 References}
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.9 *)
|
||||
|
||||
type 'a print = Format.formatter -> 'a -> unit
|
||||
type 'a pp = Buffer.t -> 'a -> unit
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
(** {1 Wrapper around Set}
|
||||
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.9 *)
|
||||
|
||||
type 'a sequence = ('a -> unit) -> unit
|
||||
type 'a printer = Buffer.t -> 'a -> unit
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
{b status: experimental}
|
||||
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.9 *)
|
||||
|
||||
type 'a injection
|
||||
(** An accessor for values of type 'a in any map. Values put
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
{b status: experimental}
|
||||
|
||||
@since NEXT_RELEASE
|
||||
@since 0.9
|
||||
*)
|
||||
|
||||
(** {2 Underlying Array} *)
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ Example (tree of calls for naive Fibonacci function):
|
|||
val print : 'a formatter -> 'a t formatter
|
||||
(** A pretty-printer using S-expressions and boxes to render the tree.
|
||||
Empty nodes are not rendered; sharing is ignored.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.9 *)
|
||||
|
||||
(** {2 Pretty printing in the DOT (graphviz) format} *)
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ several times, but might eat memory.
|
|||
|
||||
{b status: experimental}
|
||||
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.9 *)
|
||||
|
||||
type 'a t = [ `Nil | `Cons of 'a * 'a t ] Lwt.t
|
||||
type 'a stream = 'a t
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ Lwt_io.with_file ~mode:Lwt_io.output "/tmp/foo"
|
|||
|
||||
{b status: experimental}
|
||||
|
||||
@since NEXT_RELEASE
|
||||
@since 0.9
|
||||
*)
|
||||
|
||||
type 'a or_error = [`Ok of 'a | `Error of string]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue