[darcs-users] patch: haddockification of Arguments.lhs
Trent W. Buck
trentbuck at gmail.com
Fri Oct 3 00:34:27 UTC 2008
Florent Becker <florent.becker at ens-lyon.org> writes:
> +-- For example, @(Author \"Ted Hughes\") `isa` Author@ returns true.
Would it be useful to write such things as pure Haskell?
-- For example, @(Author \"Ted Hughes\") `isa` Author == True at .
I'm reminded of Python's doctest feature, which looks through docstrings
for such code examples and tests that they are still correct (i.e. unit
testing).
More information about the darcs-users
mailing list