[Hackage] #488: Include links to GHC documentation in packages' haddock docs

Hackage trac at galois.com
Mon Feb 9 19:55:26 EST 2009


#488: Include links to GHC documentation in packages' haddock docs
--------------------------------+-------------------------------------------
  Reporter:  SamB               |        Owner:          
      Type:  defect             |       Status:  reopened
  Priority:  normal             |    Milestone:          
 Component:  hackageDB website  |      Version:  1.6.0.1 
  Severity:  normal             |   Resolution:          
  Keywords:                     |   Difficulty:  unknown 
Ghcversion:                     |     Platform:          
--------------------------------+-------------------------------------------
Comment (by duncan):

 Replying to [comment:4 duncan]:
 > Replying to [comment:3 ross]:
 > > Relying on your assurance that it won't cause trouble, I've uploaded
 base-4.0.0.0, so now there's a base page.  I'll put up the docs for the
 other two later.
 >
 > Ok, lets see what happens. :-)

 One bug:
 {{{
 $ cabal install base --dry-run
 Resolving dependencies...
 cabal: Distribution/Client/Dependency/TopDown.hs:168:37-73: Non-exhaustive
 patterns in lambda
 }}}

 However that's not an immediate problem since it only happens when you
 explicitly ask to install base. Doing and ordinary install/upgrade does
 not try to upgrade base, though the error messages could be improved:

 With the released cabal-install:
 {{{
 $ cabal install syb --dry-run -w ghc-6.8.2
 Resolving dependencies...
 cabal: cannot configure syb-0.1.0.0. It requires base >=4.0
 There is no available version of base that satisfies >=4.0
 }}}

 That's because in the released version we simply ignore base in the
 available package set.

 In the current darcs version:

 {{{
 $ cabal install syb --dry-run -w ghc-6.8.2
 Resolving dependencies...
 cabal: cannot configure syb-0.1.0.0. It requires base >=4.0
 For the dependency on base >=4.0 there are these packages: base-4.0.0.0.
 However none of them are available.
 base-4.0.0.0 was excluded because of the top level dependency base -any
 }}}

 The constraint here was on picking an installed version of base (there's
 no version constraint). But we're not printing that properly.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/488#comment:5>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list