
See e.g. https://github.com/ghc/ghc/blob/baf9ebe55a51827c0511b3a670e60b9bb3617ab5/lib... for an example already in `base`. Relevant ticket: https://ghc.haskell.org/trac/ghc/ticket/11551 - Oleg On 05.01.2017 03:51, Kazu Yamamoto (山本和彦) wrote:
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/t...
--Kazu _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs