std.random:uniform - uncompilable example from docs
bearophile
bearophileHUGS at lycos.com
Sun May 10 15:52:40 PDT 2009
Christopher Wright:
> It would be cool if DDoc could incorporate unittest examples -- it's in
> a doc comment and a unittest, changes automatically propagated between
> the two, so if your unittest succeeds, the documentation is probably at
> least somewhat correct.
Having something like the Python doctests in D can be interesting.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list