<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=218431505-22032008><FONT
face="Palatino Linotype">Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=218431505-22032008><FONT
face="Palatino Linotype"></FONT></SPAN> </DIV>
<DIV><SPAN class=218431505-22032008><FONT face="Palatino Linotype">I am an
experienced programmer, currently learning Haskell. Currently I write many
things in python. I use both the "doctest" and "unittest" modules extensively.
As I write code, I simultaneously write doctest code in the doc strings to
explain/set out the "typical narrative" of how the code is used. Then finishing
off a module I write unittests for boundary conditions, more complex test cases,
and generally code that would be annoying to write & read in
doctests.</FONT></SPAN></DIV>
<DIV><SPAN class=218431505-22032008><FONT
face="Palatino Linotype"></FONT></SPAN> </DIV>
<DIV><SPAN class=218431505-22032008><FONT face="Palatino Linotype">I note that
there is a unit testing framework for Haskell, but I don't see any doctest
module. Might this be a good project?</FONT></SPAN></DIV>
<DIV><SPAN class=218431505-22032008><FONT
face="Palatino Linotype"></FONT></SPAN> </DIV>
<DIV><SPAN class=218431505-22032008><FONT face="Palatino Linotype">If so,
suggestions as to resources would be greatly appreciated. I believe I can't just
"introspect" Haskell modules to get at documentation/comments, like I can in
python? (Why not? :)) I notice that there are a few "documentation generators".
Should I try to write an extension of one of these? Haddock, for instance?
</FONT></SPAN><SPAN class=218431505-22032008><FONT face="Palatino Linotype">Are
there any Haddock developers hanging out on this list, to encourage or dissuade
me? :) (And where is the Haddock doc for Haddock?)</FONT></SPAN></DIV>
<DIV><SPAN class=218431505-22032008><FONT
face="Palatino Linotype"></FONT></SPAN> </DIV>
<DIV><SPAN class=218431505-22032008><FONT face="Palatino Linotype">In any case,
thanks in advance for any comments & advice.</FONT></SPAN></DIV>
<DIV><SPAN class=218431505-22032008><FONT
face="Palatino Linotype"></FONT></SPAN> </DIV>
<DIV><SPAN class=218431505-22032008><FONT face="Palatino Linotype">- Shaun
Cutts</FONT></SPAN></DIV></BODY></HTML>