Urgent.News

What's breaking now, across thousands of outlets.

Tech

A curmudgeon tries a language server

A curmudgeon attempts to experiment with a language server in his coding workflow. The reporter typically follows a traditional method of writing code, switching to a terminal, and running commands to compile and execute the code. He is envious of how Lisp programmers interact directly with their live, running system, but he hasn't tried to emulate that approach yet.

He discovers that by using the combination of ghcid and foreign-store in his Haskell projects, he can automatically recompile and restart his entire program without losing important state. This process resembles the incremental sending of definitions to the Lisp repl, but with a more conventional implementation. The reporter tries the setup with a toy project, writing code, writing tests, and relying on ghcid to reload the code, run tests, and restart the application when necessary.

The workflow provides a glimpse of the Lisp development experience while still considering his original coding style.

Written by urgent.news from Hacker News's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at entropicthoughts.com →

More in Tech

LibreOffice 26.8 released

Version 26.8 of the LibreOffice suite has been released. LibreOffice 26.8 concentrates on three areas: the typographic quality of what the suite produces, the range of writing systems it handles…

More from Wednesday 26 August →