ghcid
Very low feature GHCi based IDE (by ndmitchell)
lispy
Short and sweet LISP editing (by abo-abo)
Our great sponsors
ghcid | lispy | |
---|---|---|
12 | 21 | |
1,120 | 1,184 | |
- | - | |
4.0 | 0.0 | |
about 2 months ago | about 2 months ago | |
Haskell | Emacs Lisp | |
BSD 3-clause "New" or "Revised" License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
ghcid
Posts with mentions or reviews of ghcid.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-08.
-
Anyone know the best way to use haskell for arch linux?
You can use ghcid. It compiles the code, and shows if there are any errors as you save your file. Have two terminals. One for editing your file...other one with ghcid ($ ghcid path/to/filename.hs). Right click on the ghcid terminal and click `always on top`. That way, It will be always visible as you are typing and saving code.
-
Static-ls - a low memory Haskell language server based on hiedb and hiefiles
With a combination of ghcid, an hiedb filewatcher and the -fdefer-type-errors flag you can get pretty solid IDE behavior. Currently only ghc 9.4.4 is supported but happy to personally help people set this up if interested!
-
What's the best Editor+Tests experience we can get with Haskell?
With an editor integration, you could rig it up to where you could right-click on a Spec, choose "Run spec" from a context menu, and have your editor add that comment to and save dev.hs. Another editor integration could read and parse the contents of ghcid.txt. We have this already for the compiler output, but it doesn't yet parse the test output. But sans an editor integration, you will still see the test output in the console where Ghcid is running.
-
What's the best way to use a REPL for TDD?
Sounds like you want ghcid. You can use it run tests on a successful build, and it will watch files in your project and quick-rebuild when there are changes. There shouldn't be any need to modify your Cabal files or test dependencies.
- Open source projects for beginners
-
TDD for AoC?
In addition, for Haskell, I usually have ghcid running, which likewise re-runs on every file change, but gives faster feedback about any type errors than the full compiler, and also is configured to evaluate
-
Automatically reloading ghci when a file changes
Have you looked into ghcid? https://github.com/ndmitchell/ghcid
-
Most braindead easy end to end haskell workflow?
VS Code + Haskell extension is usually best, but ghcid is an alternative which is much simpler, easier to set up, less pretty and powerful but still pretty easy and effective to use. Here's a workflow:
-
How to cabal?
In general, though, I recommend just looking at the cabal files for various libraries and executables. Something like ghcid is good, since it contains a library, an executable, and a test suite.
-
Fast way to run Haskell script from nvim?
you should also checkout the ghci vim plugin https://github.com/ndmitchell/ghcid/tree/master/plugins/nvim
lispy
Posts with mentions or reviews of lispy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-04.
- Sapling: A highly experimental vi-inspired editor where you edit code, not text
-
What are the small reasons to try Emacs?
Some killer features in Emacs, which I would recommend checking out, is imenu and movement by s-expression (functions like forward-sexp). These are built into Emacs and make navigating across or inside blocks of code very easy. I have also seen that lispy, which is usually used for Lisp code also supports Python. Again I can't speak to any specifics about how well these things work for Python devs.
- What packages do I need to for the best elisp editing environment?
-
Any way to make lispy format works automatically?
While writing other programming languages with LSP, it formats the buffer once I hit save. Is there any way to make https://github.com/abo-abo/lispy do some equivalent behaviour?
-
Let's share your top 3 packages that you can't live without.
Without any order magit, lispy and minions.
- paredit.vim – Paredit Mode: Structured Editing of Lisp S-Expressions
-
Emacs/Slime equivalent of some Cider features?
I don't know cider, but...I found lispy mode a revelation in making the easy, easier.
-
Why is it hard to get started with elisp in emacs
The level of interactivity in your emacs determines how easy trying emacs-lisp becomes. I suggest checking out https://github.com/abo-abo/lispy, it makes it easy to look up documentation (C-c 1 I believe) and evaluate S-expressions on the fly (keybinding is e). Also C-h f, C-h k, C-h v are always very helpful. Also check out helpful (the package), selectrum, marginalia, prescient, etc.
-
Tree Sitter and the Complications of Parsing Languages
Emacs seems to attract quite a lot of people who want structural code editing. We now have * paredit * smartparens * evil-cleverparens * lispy * symex * combobulate (more?)
-
The State of Structural Editing in Emacs?
Obviously, we have packages like Paredit and Lispy, recently we got SymEx, but these are all for the Lisp family of languages, where syntactic redundancy is very high because of the homoiconicity.
What are some alternatives?
When comparing ghcid and lispy you can also consider the following projects:
ghci-ng
smartparens - Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
stack - The Haskell Tool Stack
parinfer-rust - A Rust port of parinfer.
ghcide - A library for building Haskell IDE tooling
symex.el - An intuitive way to edit Lisp symbolic expressions ("symexes") structurally in Emacs
hlint - Haskell source code suggestions
emacs-config - My personal Emacs configuration
castle - A tool to manage shared cabal-install sandboxes.
babashka - Native, fast starting Clojure interpreter for scripting
hadolint - Dockerfile linter, validate inline bash, written in Haskell
objed - Navigate and edit text objects with Emacs. Development on pause.