[Haskell-cafe] Haddock: inserting interactive sessions in the documentation

Manlio Perillo manlio_perillo at libero.it
Tue Mar 31 12:28:11 EDT 2009


Wouter Swierstra ha scritto:
>> What is the suggested (if any) convention for inserting an interactive
>> session in the documentation?
> 
> You may want to look at:
> 
> http://hackage.haskell.org/cgi-bin/hackage-scripts/package/DocTest
> 

Ah, ok, thanks.
So convention is to just use `-- >`.


Manlio


More information about the Haskell-Cafe mailing list