trouble with formatted Haddock documentation for new module

In a new module I'm writing for GHC, I define a record type that has a ton of named fields. Two of the fields have rather large types. Unfortunately, at least with default settings, the Haddock documentation that is well-nigh unreadable (image attached). Does anyone have a workaround? Hécate? (If it's useful, a draft of the offending module can be found at https://gitlab.haskell.org/ghc/ghc/-/blob/wip/backend-as-record/compiler/GHC....) Norman

Hi Norman,
https://github.com/haskell/haddock/issues/472 is a long-standing,
related issue. Unfortunately I'm not aware of any workarounds.
Simon
Am Do., 27. Jan. 2022 um 20:51 Uhr schrieb Norman Ramsey
In a new module I'm writing for GHC, I define a record type that has a ton of named fields. Two of the fields have rather large types. Unfortunately, at least with default settings, the Haddock documentation that is well-nigh unreadable (image attached). Does anyone have a workaround? Hécate?
(If it's useful, a draft of the offending module can be found at https://gitlab.haskell.org/ghc/ghc/-/blob/wip/backend-as-record/compiler/GHC....)
Norman
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
participants (2)
-
Norman Ramsey
-
Simon Jakobi