Previous week Up Next week


Here is the latest OCaml Weekly News, for the week of December 22 to 29, 2015.

  1. Downloadable list archives?
  2. Ptime 0.8.0
  3. amqp-client 0.9.0
  4. Ocaml Github Pull Requests
  5. Other OCaml News

Downloadable list archives?


Spiros Eliopoulos asked and Daniel Bünzli replied:
> I recently started doing some spelunking into the annals of this mailing list
> and was wondering the archives can be downloaded in a format that a mail
> reader could open (e.g., mbox). Does any such archive exists? Thanks!


Ptime 0.8.0


Daniel Bünzli announced:
It's my pleasure to announce the first release of Ptime, described by:

 Ptime has platform independent POSIX time support in pure OCaml.  
 It provides a type to represent a well-defined range of POSIX timestamps
 with picosecond precision, conversion with date-time values, conversion  
 with RFC 3339 timestamps and pretty printing to a human-readable,  
 locale-independent representation.

 The additional Ptime_clock library provides access to a system POSIX  
 clock and to the system's current time zone offset.  

 Ptime is not a calendar library.

 Ptime depends on the `result` compatibility package. Ptime_clock depends  
 on your system library. Ptime_clock's optional JavaScript support depends  
 on js_of_ocaml. Ptime and its libraries are distributed under the BSD3 license.

API docs:

As usual feedback on the API is welcome and could still slightly change before
stabilizing on a 1.0.0 release.

Thanks to Matt Gray for a suggestion about the system time zone offset API
that led to better handling of unknown timezone offsets in the library (RFC
3339 has a convention to represent them).

Finally my thanks to Raphaël Proust who provided lodging while this was being
worked on this summer.

Happy 1451606400,


P.S. The package has been tested on Darwin, Linux 32-bit and 64-bit, it
hopefully works on other posix compliant unices out of the box, report if not.
Ptime_clock is not yet supported on Windows. It will be at some point;
contributions to make that a smaller timestamp are welcome.

amqp-client 0.9.0


Anders Fugmann announced:
It is my pleasure to announce amqp-client version 0.9.0.

Amqp-client is client library for Amqp. The library has been renamed from
ocaml-amqp. Amqp-client is written in pure OCaml and supports both Async and
Lwt concurrency models. The library implements AMQP protocol spec 0-9-1 as
well as RabbitMQ specific extensions. The library is tested against RabbitMQ,
but should work with other Amqp server implementations as well.

Notable changes:
* Added support for Lwt in addition to Async
* Remove dependency on Core
* Split into amqp-client.async and amqp-client.lwt findlib packages
  and auto-detect which libraries are installed and install appropriate
  versions of the library
* Library renamed to amqp-client
* Fix bug when heartbeats are disabled server side.

amqp-client is available through opam and github[1]



Ocaml Github Pull Requests

Gabriel Scherer compiled this list:
Here is a sneak peek at some potential future features of the Ocaml
compiler, discussed by their implementers in these Github Pull Requests.

Specify in unix.mli which functions are implemented on Windows

make ocamlnat build again (the return)

Manual: new purely syntactic forms

Warning for possibly misspelled built-in attributes

Linear scan register allocator

Other OCaml News

From the ocamlcore planet blog:
Thanks to Alp Mestan, we now include in the OCaml Weekly News the links to the
recent posts from the ocamlcore planet blog at

Daniel Bünzli: Astring, Fmt, Logs, Ptime, Mtime, Rresult

Old cwn

If you happen to miss a CWN, you can send me a message and I'll mail it to you, or go take a look at the archive or the RSS feed of the archives.

If you also wish to receive it every week by mail, you may subscribe online.

Alan Schmitt