[Haskell-cafe] ANN: tree-view-0.1

J. Waldmann waldmann at imn.htwk-leipzig.de
Mon Jan 13 12:01:02 UTC 2014

Mateusz Kowalczyk <fuuzetsu <at> fuuzetsu.co.uk> writes:

> It'd be nice if we could get the result of htmlTree without having to
> write it out to the file.

htmlTree file = writeFile file . showTreeHtml . enumTree

so, just export 'showTreeHtml . enumTree'

I am reading 'String', '++' and 'concat' all over the place and that makes
me somewhat nervous about performance. 

I thought 'showTreeHtml' should produce some abstract Html representation
(say, Text.Blaze.Html), then the user can decide how to render, and to what
type (String, Text, ByteString).

- J.W.

More information about the Haskell-Cafe mailing list