[Haskell-cafe] Haddock Constructor parameter documentation without record syntax
fuuzetsu at fuuzetsu.co.uk
Wed Jan 22 10:25:40 UTC 2014
On 22/01/14 09:48, Alexander Berntsen wrote:
> On 22/01/14 10:42, satvik chauhan wrote:
>> data Foo = Foo Int -- ^ First
>> Int -- ^ Second
> I don't think you can do it that way. See .
>  <http://www.haskell.org/haddock/doc/html/ch03s02.html#idp1371328252>
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
I can confirm that you can not document constructors in this way. If you
really need to, you can make it into a record and document each field.
More information about the Haskell-Cafe