Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
New library: Easy-format 0.9.0
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-07-13 (16:32)
From: Martin Jambon <martin.jambon@e...>
Subject: Easy-format 1.0.0 (Re: [Caml-list] New library: Easy-format 0.9.0)
I've just released a richer version of Easy-format.
The main URL is still

It now offers the following additional features:

- Support for separators that stick to the next list item (e.g. "|")
- More wrapping options
- Added Custom kind of nodes for using Format directly or existing
- Support for markup and escaping, allowing to produce colorized output
   (HTML, terminal, ...) without interfering with the computation of
   line breaks and spacing.

Easy-format now takes advantage of most features of the Format module, 
with the notable exception of tabulation boxes. I'd be curious so see any 
interesting use of tabulation boxes.

This release has slight incompatibilities with version 0.9.0 which was 
released earlier this week, simply because more options were added:

- Deprecated use of Easy_format.Param. Instead, inherit from
   Easy_format.label or Easy_format.atom.
- Atom nodes have now one additional argument for parameters.
- All record types have been extended with more fields.
   Using the "with" mechanism for inheritance is the best way of limiting
   future incompatibilities.