On Tue, 13 Oct 2015 11:43:24 +0200 l...@gnu.org (Ludovic Courtès) wrote: > Eric Bavier <ericbav...@openmailbox.org> skribis: > > > Although other ghc packages in haskell.scm include these two outputs, > > the "out" output very often ends up referencing the "doc" output, so > > both end up installed in practice, so it should be safe to remove this > > field. > > Oh, too bad. Do you know why the reference is kept? Does that look > like something that can be fixed?
References to the doc directory is often kept in the lib/ghc-7.8.4/package.d/<package>.conf (or similar) file, in the 'haddock-interfaces' and 'haddock-html' fields. We may be able to just scrub the references, but it may break some user expectations about using 'ghc-pkg' to find the location of documentation for a library. > >> + (description > >> + "A portable library of functor and monad transformers, inspired by > >> the > >> +paper \"Functional Programming with Overloading and Higher-Order > >> +Polymorphism\", by Mark P Jones, in Advanced School of Functional > >> Programming, > >> +1995 (http://web.cecs.pdx.edu/~mpj/pubs/springschool.html).") > > > > Descriptions can now optionally include texinfo markup, so maybe that > > last could be "@url{http://web.cecs.pdx.edu/...}" > > Better yet: > > @uref{http://web.cecs.pdx.edu/..., "Functional Programming…"} Much better. `~Eric