ghci-ng VS ghcid

Compare ghci-ng vs ghcid and see what are their differences.

ghcid

Very low feature GHCi based IDE (by ndmitchell)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
ghci-ng ghcid
1 12
1,043 1,120
- -
0.4 4.0
- about 2 months ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License 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.

ghci-ng

Posts with mentions or reviews of ghci-ng. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-01-03.
  • Why Clojure?
    8 projects | news.ycombinator.com | 3 Jan 2021
    I've only dabbled with GHCI. I've used it as a standalone REPL for trying out small things, the same way I'd use a Python or Javascript REPL. I haven't used the REPL /the/ developer interface to the program. In Clojure, I would (1) start a REPL server, (2) connect to it from my editor, and (3) send expressions to it. I didn't develop Haskell that way, though I think it was possible with Intero[1].

    Within the Clojure community, there's a perception that the Clojure REPL is one of its strongest selling points[2].

    Are you using the REPL actively when developing?

    [1]: https://github.com/chrisdone/intero#readme

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?
    1 project | /r/haskell | 16 Aug 2023
    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
    4 projects | /r/haskell | 8 Apr 2023
    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?
    1 project | /r/haskell | 21 Sep 2022
    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?
    1 project | /r/haskell | 7 Feb 2022
    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
    7 projects | /r/haskell | 24 Jan 2022
  • TDD for AoC?
    2 projects | /r/adventofcode | 18 Dec 2021
    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
    1 project | /r/haskell | 25 Jul 2021
    Have you looked into ghcid? https://github.com/ndmitchell/ghcid
  • Most braindead easy end to end haskell workflow?
    4 projects | /r/haskell | 23 Jul 2021
    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?
    1 project | /r/haskellquestions | 4 Apr 2021
    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?
    2 projects | /r/neovim | 1 Mar 2021
    you should also checkout the ghci vim plugin https://github.com/ndmitchell/ghcid/tree/master/plugins/nvim

What are some alternatives?

When comparing ghci-ng and ghcid you can also consider the following projects:

leksah - Haskell IDE

stack - The Haskell Tool Stack

ghc-mod

ghcide - A library for building Haskell IDE tooling

ghci-ng

hlint - Haskell source code suggestions

hdocs - Haskell docs tool

castle - A tool to manage shared cabal-install sandboxes.

hoogle - Haskell API search engine

hadolint - Dockerfile linter, validate inline bash, written in Haskell

haskell-docs - Get the Haskell documentation of a name from a module

ihaskell - A Haskell kernel for the Jupyter project.