On 21 June 2011 04:27, Dmitri O.Kondratiev <[email protected]> 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 [email protected] IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
