sol/doctest-haskell — pull request #10 by kazu-yamamoto (2012-01-09 12:03:52+00:00)
Title: empty results should be True.

This patch treats empty result as True. With this patch, the Data.Map style doctest:

>>> size (fromList([(1,'a'), (2,'c'), (3,'b')])) == 3

Currently, Data.Map uses

> size (fromList([(1,'a'), (2,'c'), (3,'b')])) == 3

If this patch is merged, I will ask to translate "> " to ">>> " to the maintainers of the containers package.

This behavior does not need to be default. If you provide any option to enables this behavior, I would be very happy.