ELSEIF
Your brief EB
470 stories from 211 feeds 1251 clusters Refreshed 1 minute ago next pull 01:11

LANGUAGES Signal 252 2 feeds carried it

Author combines Haskell Language Server, ghcid, and foreign-store to approximate Lisp-style live programming

Illustration only Photo by iMattSmart on Unsplash

An author describes adopting Haskell Language Server, ghcid, and foreign-store to approximate the Lisp-style live programming workflow in Haskell.

WHY IT MATTERS

This combination lets Haskell developers maintain process state across recompilations, reducing the friction of the edit-compile-run cycle. However, it still cannot evaluate code in the REPL of a running program, so the Lisp experience remains only partially replicated.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

Haskell Language Server with Eglot provides code introspection that improves on a traditional compile-and-run workflow.

02

ghcid combined with foreign-store or Rapid can automatically recompile and restart programs while preserving process state.

03

The approach cannot evaluate code in the REPL of a running program, so unit tests are run on reload as a substitute.

THE CLUSTER

Same story, 2 feeds.

ORDERED BY FIRST SEEN
Entropic Thoughts A curmudgeon tries a language server Open ↗
entropicthoughts.com via Hacker News A curmudgeon tries a language server Open ↗