[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| 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 http://martin.jambon.free.fr/easy-format.html 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 pretty-printers - 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.list, 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. Martin -- http://mjambon.com/ http://wink.com/profile/mjambon http://ocamlhackers.ning.com/profile/MartinJambon