Previous week Up Next week


Here is the latest Caml Weekly News, for the week of January 26 to February 02, 2010.

  1. Format syntax extension
  2. Other Caml News

Format syntax extension


Tiphaine Turpin announced:
I'm pleased to announce the first release of the Format syntax extension
for Ocaml:

Format is basically a quotation-style printf, i.e., it defines
quotations for building strings and writing to buffers, channels, and
formatters, with data being inserted through antiquotations rather than
subsequent arguments. Here is a list of features:

- Format can be used to write to strings, buffers, channels, and (with a
limited efficiency) formatters.
- Format expressions are (mostly) compiled rather than interpreted (less
- All Printf formatting instructions are supported, except %a (but %t
seems more natural in this setting anyway).
- Conditionals and iteration are available.
- Type errors are more readable than with printf.
- Errors should be correctly located (both in formats and inside
- Also works with Ocaml Batteries  with out_channel -> 'a IO.output (no
integration with the "prefixes" of batteries).

Other Caml News

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

Transparents OPA:

Batteries Included 1.0.1 released:


subsets for reference:

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