Ticket #216 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

New types not exported from Documentation.Haddock

Reported by: hamish Owned by: SimonHengel
Priority: major Milestone:
Version: 2.14.0 Keywords:


I think this will make it impossible for Leksah to work. I have been able to get it working with a patched Haddock, but I really don't want to revive haddock-leksah again.

I think we just need to add the following to Documentation.Haddock...

Documentation(..), Hyperlink(..),

It would be nice if the Haddock backends imported Documentation.Haddock instead of Haddock.Types, then this sort of problem would probably never come up.

Change History

Changed 2 years ago by hamish

I have added a separate ticket #217 for changing the backends (in case that might take a bit longer to do).

Changed 2 years ago by SimonHengel

Thanks for the heads up! I just created a patch that exports the types, it should hit the main repository in about 10 minutes.

We will include this with Haddock 2.13.0. It will be released soon, but it will only work with ghc-7.6.1.

I guess you need a backport of this to 2.11.0, right?

Changed 2 years ago by hamish

Yes, I guess so. I have only been testing with

  • GHC 7.4.1 and Haddock 2.10
  • GHC 7.6.1 and Haddock 2.12

I'll try GHC 7.4.2 and Haddock 2.11 now.

Changed 2 years ago by anonymous

  • milestone 2.12.1 deleted

Milestone 2.12.1 deleted

Changed 2 years ago by hamish

Yes, it looks like 2.11 has the same sort of problem (Documentation(..) export is missing, but I think Hyperlink is new to 2.12).

Changed 2 years ago by SimonHengel

  • owner set to SimonHengel
  • status changed from new to assigned

If you need minor releases for old versions, can you please summarize what versions are effected, and which version needs which change. I'll then look into it ;)

Changed 2 years ago by hamish

GHC 7.6.1 is working nicely now, but it looks like we will need a Haddock 2.11.1 to add export of Documentation(..) so that Leksah can support the latest Haskell Platform (GHC 7.4.2).

Changed 2 years ago by SimonHengel

  • status changed from assigned to closed
  • resolution set to fixed

I just pushed 2.11.1 to Hackage.

I'm closing this, but if you still need something, raise your voice ;)

Note: See TracTickets for help on using tickets.