Contributing Examples to the Documentation

Kazu Yamamoto (=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=) kazu at
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:

The following document would also help:


More information about the ghc-devs mailing list