Skip to content

Remove haskell-doc-prelude-types from haskell-doc.el #1179

Closed
@geraldus

Description

@geraldus

Since we already rely on GHC output for supported language extensions and pragmas why not to drop haskell-doc-prelude-types from haskell-doc.el? This could be done parsing output of ghc -e ':bro Prelude'.

One caveat: now stack allows multiple GHC versions without any global GHC compiler in PATH, I think we should add these variables to session when starting new interactive process and populate them running stack exec -- ghc … because different versions of GHC possibly could have different Preludes and options/extensions. Then in case of presence interactive session associated to current buffer completion and doc-string providers should use session variables instead of global ones.

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