Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Haddock should hide hidden fields of re-exported modules #174

Closed

Description

@ghc-mirror

Original reporter: ezyang@

Suppose I have the following module:

module Compiler.Hoopl
  ( module Compiler.Hoopl.Graph
  , module Compiler.Hoopl.MkGraph
  , module Compiler.Hoopl.XUtil
  , module Compiler.Hoopl.Collections
  , module Compiler.Hoopl.Checkpoint
  , module Compiler.Hoopl.Dataflow
  , module Compiler.Hoopl.Label
  , module Compiler.Hoopl.Pointed
  , module Compiler.Hoopl.Combinators
  , module Compiler.Hoopl.Fuel
  , module Compiler.Hoopl.Unique
  , module Compiler.Hoopl.Util
  , module Compiler.Hoopl.Debug
  , module Compiler.Hoopl.Show
  )
where

import Compiler.Hoopl.Checkpoint
import Compiler.Hoopl.Collections
import Compiler.Hoopl.Combinators
import Compiler.Hoopl.Dataflow hiding ( wrapFR, wrapFR2, wrapBR, wrapBR2
                                      )
import Compiler.Hoopl.Debug
import Compiler.Hoopl.Fuel hiding (withFuel, getFuel, setFuel, FuelMonadT)
import Compiler.Hoopl.Graph hiding 
   ( Body
   , BCat, BHead, BTail, BClosed -- OK to expose BFirst, BMiddle, BLast
   )
import Compiler.Hoopl.Graph (Body)
import Compiler.Hoopl.Label hiding (uniqueToLbl, lblToUnique)
import Compiler.Hoopl.MkGraph
import Compiler.Hoopl.Pointed
import Compiler.Hoopl.Show
import Compiler.Hoopl.Util
import Compiler.Hoopl.Unique hiding (uniqueToInt)
import Compiler.Hoopl.XUtil

Haddock will incorrectly generate documentation for all functions in these modules, where it should actually hide any of the functions/data constructors that were hidden in the imports.

Activity

  1. self-assigned this
    on May 8, 2014
  2. added a commit that references this issue on Sep 5, 2017
  3. gbaz commented on Feb 5, 2018

    @gbaz
    Contributor

    should be resolved by #688

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions