<div dir="auto">Hi Kazu,<div dir="auto">If I use the doctest style, do I use ">>>" for the prompt? That's more a Python thing. Maybe ">" would be more appropriate for Haskell? </div><div dir="auto"><br></div><div dir="auto">Sunjay</div><br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Jan 4, 2017 5:39 PM, "Kazu Yamamoto" <<a href="mailto:kazu@iij.ad.jp">kazu@iij.ad.jp</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sunjay,<br>
<div class="quoted-text"><br>
> Are there any modules with good code examples that I should use as a<br>
> reference? I want to include both the code and output of the example as if<br>
> the user was running ghci. Are there any guidelines for contributing<br>
> documentation?<br>
<br>
</div>I would suggest to use the doctest style so that your examples can be<br>
automatically tested.<br>
<br>
I would like to move the test suites of the containers library to<br>
doctest.<br>
<font color="#888888"><br>
--Kazu<br>
</font></blockquote></div><br></div></div>