haskell-language-server
with-utf8
Our great sponsors
haskell-language-server | with-utf8 | |
---|---|---|
110 | 4 | |
2,570 | 52 | |
1.1% | - | |
9.6 | 6.3 | |
2 days ago | 3 days ago | |
Haskell | Haskell | |
Apache License 2.0 | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
haskell-language-server
-
Revisiting Haskell after 10 years
The advent of language server protocol made possible the creation of HLS (Haskell Language Server), and there are plugins for many editors, such as vscode-haskell, that allow you to have auto-complete, auto-import, and automatic function signatures—also available to your editor of choice. The whole feedback loop of editing, compiling, and running is greatly improved.
-
VSCode Haskell extension not working
HLS 2.3.0.0 is currently broken on Windows.
-
Haskellers who moved to Rust: What has been your experience?
The Haskell community has been focusing on tooling and IDE support in the last several years. Haskell-Language-Server is a huge improvment, so the experience is probably much better than you remember, but it'll still be a while before it catches up with Rust.
- A semester of Haskell-language-server: an internship report
- HLS 2.0.0.0 is out
-
Static-ls - a low memory Haskell language server based on hiedb and hiefiles
static-ls is a low memory language server for Haskell that serves as an alternative to (hls)[https://github.com/haskell/haskell-language-server] with less functionality by using statically generated information. It is intended for (Highly recommend hls instead if you aren't having these issues):
- HLS 1.10.0.0 is out
-
[Well-Typed] Multiple Component support for cabal repl
I think the corresponding HLS PR is https://github.com/haskell/haskell-language-server/pull/3462, so it isn't landed yet but hopefully can be part of a HLS release before too long. (I'm not sure if it will make it in to the very next release because we're due one out to support GHC 9.6.1 pretty soon.)
- [ANN] HLS-1.9.1.0 released
with-utf8
-
Best resources to learn haskell?
Invalid byte sequence sounds like a locale issue (see this blog post).
-
What Is IO Monad?
The real fix will happen when Data.Text moves from UTF-16 to UTF-8:
https://discourse.haskell.org/t/hf-tech-proposal-1-utf-8-enc...
Fortunately this proposal has been accepted, but I don't know the timeline for its implementation in GHC.
Until then, working with UTF-8 is kind of convoluted
https://serokell.io/blog/haskell-with-utf8
Also: libraries need to be fixed to accept Data.Text instead of String. IsString helps (it's a typeclass that contains all string types) but only if APIs take it instead of defaulting to String. Adding random string conversions to cope with legacy APIs is very annoying.
-
Where can I look for help?
Agda is written in Haskell, and the quoted error message is a common problem with applications written in Haskell. You probably have an environment variable like LC_CTYPE or LC_ALL which is set to an unusual value. I'd try setting LANG, LC_CTYPE and LC_ALL to en_US.utf8.
-
Using VS Code with Haskell
without this I get a build error (see here
What are some alternatives?
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
text - Haskell library for space- and time-efficient operations over Unicode text.
neovim - Vim-fork focused on extensibility and usability
text-short - Memory-efficient representation of Unicode text strings
lsp-mode - Emacs client/library for the Language Server Protocol
unicode-transforms - Fast Unicode normalization in Haskell
ormolu - A formatter for Haskell source code
unicode-data - Access unicode character database
vscode-haskell - VS Code extension for Haskell, powered by haskell-language-server
safeio - Haskell Library for safe (atomic) IO
hie-bios - Set up a GHC API session for various Haskell Projects
binary-io - Read and write values of types that implement Binary from and to Handles