Hi Kazu,
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?

Sunjay


On Jan 4, 2017 5:39 PM, "Kazu Yamamoto" <[email protected]> wrote:

Hi Sunjay,

> Are there any modules with good code examples that I should use as a
> reference? I want to include both the code and output of the example as if
> the user was running ghci. Are there any guidelines for contributing
> documentation?

I would suggest to use the doctest style so that your examples can be
automatically tested.

I would like to move the test suites of the containers library to
doctest.

--Kazu
_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to