You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
In my module, I'm importing Data.Text.Text and using it in a function signature.
However, my library depends on text and foldl and foldl reexports Text in the Control.Foldl.Text module.
Even if I'm not importing Control.Foldl.Text in my module, haddock generates links documentation to this module instead of a link to the Data.Text.Text module.
For exemple:
I've created a new library with cabal init which contains this file:
Note: this is the default library generated by cabal init with the added (and exported) fiz symbol.
Note that it imports the Data.Text module.
If I only depend on text on my cabal file, the generated haddock correctly points to Data.Text.Text. However, if I'm adding foldl in my cabal file, the generated documentation points to Control.Foldl.Text, as you can see here:
Changing the order of the dependencies in the cabal file does not change the result.