
13 Jan
2014
13 Jan
'14
7:01 a.m.
Mateusz Kowalczyk
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.