[Haskell-cafe] Some tooling questions

Sven Panne svenpanne at gmail.com
Sun Aug 22 17:11:37 UTC 2021


Just 2 quick questions to see if I understand things correctly:

   * Current Haddock versions have the ability to render hyperlinked
coloured source code built-in, there is no need for a separate HsColour
executable anymore (IIRC, this was required in ancient times), correct?

   * The haskell-language-server executables have all their "plugins"
compiled and linked into them, correct? So there is e.g. no need for an
external ormolu, hlint, ... executable. This would be a good thing, but
using the word "plugin" for this is quite confusing for the end user IMHO.
For me, plugins are something which you can install in addition to
something else. This doesn't seem to be the case here, if I understand the
source code correctly.

And some final questions regarding the Haskell Language Server: Why are
there separate haskell-language-server-X.Y executables plus a wrapper? Why
are the executables tied to a fixed GHC version and what exactly does the
wrapper do? Which of these executables is used e.g. by Emacs' lsp-mode?
This looks quite complicated, at least compared to all the other LSP
backends I know: For C++, just point to any clangd; for Groovy, just point
to a JAR; for Python just install a single python-lsp-server package (which
has real plugins as separate packages BTW), etc.

Slightly confused,
   S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20210822/53a010bf/attachment.html>


More information about the Haskell-Cafe mailing list