cdepillabout/pretty-simple

Compact mode destroys laziness

georgefst opened this issue · 3 comments

Oh, and I realized that currently pretty-simple doesn't parse and pretty-print lazily with the compact option:

> pPrintOpt CheckColorTty defaultOutputOptionsDarkBg { outputOptionsCompact = True }  (repeat 3)

This doesn't print anything. Maybe I should make a separate issue about this...

Originally posted by @cdepillabout in #84 (comment)

This is probably my fault. I'd never even thought to test it.

Yeah, I think the real problem here is that pretty-simple doesn't have any tests checking the whole laziness thing!

Yeah, I think the real problem here is that pretty-simple doesn't have any tests checking the whole laziness thing!

We have at least one! I remember from #67 (comment).