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.

Hyperlinker: Hovering a name should show its type #715

Closed
@alexbiehl

Description

@alexbiehl

An interesting feature for our hyperlinked source backend. Hovering over a name should show its type:

hover

Implementation should be straight forward. In https://github.com/haskell/haddock/blob/master/haddock-api/src/Haddock/Backends/Hyperlinker/Ast.hs we already collect all the information for each binder which we can use in the renderer.

In case of parameterized functions we could show the original type and the instantiated types on hover. This might give a nice experience when browsing sources.

/cc @harpocrates Interested?

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