MicroHs icon indicating copy to clipboard operation
MicroHs copied to clipboard

Haddock of base library.

Open tonyday567 opened this issue 5 months ago • 1 comments

Is it possible to get a haddock of the mhs base library?

I am loving the development environment so far, but there's just enough differences between ghc and mhs base to keep me browsing through raw code and it would be very helpful to have a clickable index of stuff in there.

cabal haddock at the top level is fine, but in the lib directory, it looks like it is looking for ghc base. I would also note that the haddock for microhs itself hasa link for Bool (say) that looks hardcoded:

file:///Users/tonyday567/haskell/MicroHs/dist-newstyle/build/aarch64-osx/ghc-9.12.2/MicroHs-0.14.25.0/doc/share/doc/ghc-9.12.2/html/libraries/base-4.21.0.0-958c/Data-Bool.html#t:Bool

I can imagine that I am kind of asking for ghc to compile mhs base, but the haskell code being documented is right there, and I only want (for all of us) to do it once.

tonyday567 avatar Nov 23 '25 18:11 tonyday567

I experimented a little with haddock, but I didn't manage.

augustss avatar Nov 25 '25 15:11 augustss

Haddock seem to be too tightly coupled with GHC.

augustss avatar Nov 29 '25 19:11 augustss

I went to ask the haddock guys, and found them to be a friendly bunch, but they have disappeared back into the wider project, which makes it harder to just drop in and say hi.

tonyday567 avatar Nov 29 '25 23:11 tonyday567