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 always shows kind signatures for types re-exported from other packages #548

Closed
@gridaphobe

Description

@gridaphobe

If I run haddock on the following modules

module Foo where

data Foo = MkFoo
module Bar (Bar(..), Foo(..)) where

import Foo

data Bar = MkBar

the types are formatted as expected, without kind-signatures.

However, if I move Foo into a separate package it suddenly has a kind-signature in the Bar haddocks.

It would be nice if haddock would only display kind signatures when one of the type parameters has a non-* kind, otherwise it's just noise IMO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions