[Haskell-cafe] Text report tools?

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Tue Jun 21 00:55:52 CEST 2011


On 21 June 2011 04:27, Dmitri O.Kondratiev <dokondr at gmail.com> wrote:
> Hi,
> I am looking for an easy way to generate text reports.
> For starters I need a very simple report that may contain:
> - Some headers
> - Lists of text strings where each string can include instances of basic
> Haskell types.  Each string should be printed on a separate line (terminated
> with LF).
>
> Do I understand this right that for such simple reports (as above)
> Text.Printf is the main tool?
>
> As a next step, a simple report engine controlled by templates or DSL would
> help.

If you are wanting to output to HTML or something, I suggest using
pandoc as a library or else one of the HTML templating libraries.  If
it's more of a specific format, maybe use a pretty-printing library
directly?

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com



More information about the Haskell-Cafe mailing list