# \[HFTP\] Maximally decoupling GHC and Haddock

**URL:** <https://discourse.haskell.org/t/hftp-maximally-decoupling-ghc-and-haddock/5300>\
**Category:** Haskell Foundation\
**Created:** [November 12, 2022, 4:02pm UTC](https://discourse.haskell.org/t/hftp-maximally-decoupling-ghc-and-haddock/5300 "2022-11-12T16:02:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LaurentRDC](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/laurentrdc/32/4950_2.png) [@LaurentRDC](https://discourse.haskell.org/u/LaurentRDC)\
**Post date:** [November 12, 2022, 4:02pm UTC](https://discourse.haskell.org/t/hftp-maximally-decoupling-ghc-and-haddock/5300/1 "2022-11-12T16:02:05Z")

</div>

Hello all,

Here’s a new [proposal which seeks to decouple GHC and Haddock as much as possible](https://github.com/haskellfoundation/tech-proposals/pull/44).

This proposal is based [on an idea by Haddock maintainers](https://github.com/haskell/haddock/issues/1420) as well as discussions with the HF Technical Working Group members.

Please take a look and provide feedback!

---

<div class="post-metadata">

**Author:** ![LaurentRDC](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/laurentrdc/32/4950_2.png) [@LaurentRDC](https://discourse.haskell.org/u/LaurentRDC)\
**Post date:** [November 12, 2022, 4:03pm UTC](https://discourse.haskell.org/t/hftp-maximally-decoupling-ghc-and-haddock/5300/2 "2022-11-12T16:03:10Z")

</div>

I would also be very grateful if people could spread the word on other platforms such as Reddit, Discord, etc.

---

<div class="post-metadata">

**Author:** ![jaror](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/jaror/32/3271_2.png) [@jaror](https://discourse.haskell.org/u/jaror)\
**Post date:** [November 12, 2022, 4:13pm UTC](https://discourse.haskell.org/t/hftp-maximally-decoupling-ghc-and-haddock/5300/3 "2022-11-12T16:13:12Z")

</div>

[I’ve posted it to Reddit.](https://reddit.com/r/haskell/comments/ytb2qh/hftp_maximally_decoupling_ghc_and_haddock/)

---

<div class="post-metadata">

**Author:** ![artem](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/artem/32/56_2.png) [@artem](https://discourse.haskell.org/u/artem)\
**Post date:** [November 12, 2022, 5:37pm UTC](https://discourse.haskell.org/t/hftp-maximally-decoupling-ghc-and-haddock/5300/4 "2022-11-12T17:37:48Z")

</div>

Great proposal. Would it be possible to track progress somehow? Are you going to work on your fork and how frequently do you think you will PR? If there are some low-hanging fruits suitable for drive-by contributions, I’d like to pitch in.

---

<div class="post-metadata">

**Author:** ![LaurentRDC](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/laurentrdc/32/4950_2.png) [@LaurentRDC](https://discourse.haskell.org/u/LaurentRDC)\
**Post date:** [November 14, 2022, 2:02pm UTC](https://discourse.haskell.org/t/hftp-maximally-decoupling-ghc-and-haddock/5300/5 "2022-11-14T14:02:06Z")

</div>

This proposal could be broken up into multiple pull requests to the main Haddock repository, and tracked using a Github Project.  
One important component of the proposal is the removal of GHC-specific stuff from various Haddock modules for which it is not necessary. You could make a drive-by contribution by picking a single Haddock module, and performing a GHC-ectomy.

I’ll ping back when/if the proposal is accepted to coordinate this effort.
