Some markup fixes for Chris Done's examples #93

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
3 participants

dag commented Nov 23, 2012

No description provided.

Owner

bos commented Dec 7, 2012

This is superseded by a newer commit from @tibbe. Thanks.

@bos bos closed this Dec 7, 2012

dag commented Dec 7, 2012

Actually, his fixes aren't using the Haddock markup for "examples" correctly.

Instead of

> >>> expr
> result

You want simply,

>>> expr
result

Which is how I did it, but I guess having merged his commit, mine would conflict.

Contributor

tibbe commented Dec 7, 2012

I was actually not trying to use the doctest style. :)

dag commented Dec 7, 2012

Why not? It's what it's there for. Example interactive sessions. :)

Contributor

tibbe commented Dec 7, 2012

@dag I just didn't consider it. If it renders well (i.e. as code blocks) when used I don't mind having it changed.

dag commented Dec 7, 2012

Oh! I misinterpreted and thought you were saying that you explicitly decided against using "doctest style".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment