[Haskell-cafe] Haddock Constructor parameter documentation without record syntax

satvik chauhan mystic.satvik at gmail.com
Wed Jan 22 09:42:41 UTC 2014


Does anybody know how to document parameters of a constructor in haddock.
The following code gives parse error on the second parameter while
generating haddock documentation.

data Foo = Foo Int -- ^ First
                          Int -- ^ Second

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140122/41ddd17b/attachment.html>

More information about the Haskell-Cafe mailing list