On Wed, Jul 11, 2007 at 04:33:19PM -0500, Jonathan Cast wrote:
> On Wednesday 11 July 2007, you wrote:
> > On Wed, Jul 11, 2007 at 03:59:45PM -0500, Jonathan Cast wrote:
> > > One could put up the Haddock doc-comment.  Or, say, one could extend
> > > Haddock to support parameter names:
> > >
> > > testunique' :: Eq a
> > >           => [a] -- ^ $list List of elements to test
> > >             -> [a] -- ^ $elementssofar List of elements seen thus far
> > >             -> [a] -- ^ List of unique elements in 'list'.
> > >
> > > No patch forthcoming from this corner, though.
> >
> > None necessary!  Haddock already supports that syntax.
> >
> > http://haskell.org/haddock/haddock-html-0.8/ch03s02.html#id289091
> 
> I think you missed my overloading of the section-label syntax to get argument 
> names.

Indeed.

> And it's not even quite supported; trying the example gets you
> 
> $ haddock -h Foo.hs
> Warning: Foo: the following names could not be resolved:
>     Eq list

Uhm... that's a *successful* run.  I think you meant to copy the
messages from a failed run?

Stefan

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to