[Haskell-beginners] Writing huge result of `show` to file results in out of memory

Imants Cekusins imantc at gmail.com
Sun Oct 30 11:28:21 UTC 2016


another thing which may make a difference:

this large data structure, is it lazy  by any chance?

if it is, why not change it to strict?

is there a reason why large data structures - especially if they are
expected to be serialized at some point - should be used in their lazy form?
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20161030/24f89a7e/attachment.html>


More information about the Beginners mailing list