> Simon Marlow wrote:
> > simonmar    2003/07/28 06:33:03 PDT
> > 
> >   Modified files:
> >     haddock/src          HaddockHtml.hs 
> >   Log:
> >   Differentiate links to types/classes from links to
> >   variables/constructors with a prefix ("t:" and "v:" respectively).
> >   
> >   Revision  Changes    Path
> >   1.50      +10 -4     fptools/haddock/src/HaddockHtml.hs
> 
> Hmmm, this change makes hyperlinking worse sometimes: When one
> uses 'Foo.Bar' , Haddock thinks that Bar is a variable/constructor,
> but how can I tell Haddock that it is actually a constructor? This
> breaks tons of links in my HOpenGL docs currently. Do we need yet
> another kind of quotes for this?

Urk, that's a real pain.  Previously you were probably accidentally
getting the right behaviour, because the type constructor appeared
before the data constructor in the page being linked to.

I can reverse the default for the time being, so we're no worse than
before.

Any suggestions for syntax to specify the type constructor over the data
constructor?  Maybe ':Foo' means the data constructor?

Cheers,
        Simon


_______________________________________________
Cvs-fptools mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-fptools

Reply via email to