Add Haddock documentation headers

Very minimal -- basically copying the header sections from HaskellNet so
that it's easy to see where the function would belong were it part of
HaskellNet itself.