[patch] Implement GADT records in HTML backend

Isaac Dupree id at isaac.CedarSwampStudios.org
Mon Jul 20 11:42:44 EDT 2009


Isaac Dupree wrote:
> so, I cleaned up everything except for the GADT records situation

here's a pretty simple patch to remedy that deficiency in Haddock, it's 
independent of all my other patches.  Review?  I used this source 
declaration for testing:

-- | h1
data H1 a b where
   C1 :: H1 a b
   C2 :: Ord a => [a] -> H1 a a
   C3 { field :: Int -- ^ hello docs
      } :: H1 Int Int

-Isaac
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: isaacs-gadt-records-html.dpatch
Url: http://projects.haskell.org/pipermail/haddock/attachments/20090720/2b1d3381/attachment-0001.txt 


More information about the Haddock mailing list