Contributing Examples to the Documentation

Kazu Yamamoto (=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=) kazu at iij.ad.jp
Thu Jan 5 01:51:34 UTC 2017


Hi Sunjay,

> 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?

You should use ">>>".

If you don't know doctest for Haskell, please read:

	https://github.com/sol/doctest#readme

The following document would also help:

	https://github.com/kazu-yamamoto/unit-test-example/blob/master/markdown/en/tutorial.md

--Kazu


More information about the ghc-devs mailing list