ghcid VS vim-slime

Compare ghcid vs vim-slime and see what are their differences.

ghcid

Very low feature GHCi based IDE (by ndmitchell)

vim-slime

A vim plugin to give you some slime. (Emacs) (by jpalardy)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
ghcid vim-slime
12 56
1,120 1,795
- -
4.0 9.3
2 months ago 5 days ago
Haskell Vim Script
BSD 3-clause "New" or "Revised" License MIT 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.

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

vim-slime

Posts with mentions or reviews of vim-slime. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-20.
  • Racket Language
    5 projects | news.ycombinator.com | 20 Apr 2024
    https://github.com/jpalardy/vim-slime

    you can have a REPL in nvim/vim/tmux/screen/another terminal/or any other window , and send regions from your vim buffer to that repl

  • Livebook: Elixir's Swiss Army Knife
    2 projects | news.ycombinator.com | 25 Mar 2024
    For vim users, check out vim-slime[1]. It's really changed my workflow! It can work for any language that uses a REPL, including bash/shell. Combined with tmux, it is an amazing and (in hindsight) obvious tool. I honestly can't imagine myself going back to not having it now.

    [1]: https://github.com/jpalardy/vim-slime

  • NeoVim Capability Functions
    4 projects | /r/neovim | 3 Nov 2023
    For splitting the terminal you could try either toggleterm or tmux. If you want to send things from one tmux pane to another, then you can use slime. For a toggle-able filetree, you can use nvim tree.
  • Help running chunks of Python to a terminal as REPL
    3 projects | /r/neovim | 3 Jun 2023
    I use vim-slime. It works really well in tmux. https://github.com/jpalardy/vim-slime. Just blocks of code as cells
  • slimux.nvim - Simple plugin to send text to tmux panes
    4 projects | /r/neovim | 24 May 2023
    This is yet another plugin to capture text from the current buffer and send it to a tmux pane. I was using https://github.com/jpalardy/vim-slime previously, and wished I could just set sensible defaults for where to send text. Also, I wanted to create my first Neovim plugin! I have to say, after writing a bit of Vimscript in the past, the Neovim Lua API makes me a much happier camper.
  • If we can have this functionality in neovim, I'll probably never leave my room again
    2 projects | /r/neovim | 21 Mar 2023
    I use slime (which sends code to tmux panes), tmux (of course) and ipython for this. For example, the code I sent to ipython was with a simple keybinding ...
  • Running codes in one line
    2 projects | /r/vim | 19 Mar 2023
    If I understand correctly, what you need is a combination of vim, tmux, ipython and vim-slime.
  • Tools for productivity
    31 projects | /r/neovim | 7 Mar 2023
    REPL??? Do you have a very-easy-to-use way of running and testing your code? From vim-slime to nvim sniprun to autocommands with the built in terminal, to an external repl like ptpython (for python obviously). iron.nvim and conjure are two other neovim repl plugins. There are many ways of running the code that you're working on, and having something that makes this really easy for you is pretty essential. (sometimes I use inotifytools on linux to literally just run the script every time I save it.)
  • Favorite REPL/Notebook/Task Running plugins and workflow?
    8 projects | /r/neovim | 25 Feb 2023
    For the record/list, there's also: - https://github.com/hkupty/iron.nvim and - https://github.com/jpalardy/vim-slime
  • Outdated tutorials
    2 projects | /r/vim | 19 Feb 2023
    However, if you're coding in an interpreted language like python, R, bash, etc., then there is one plugin which you are likely to find helpful. That's vim-slime.

What are some alternatives?

When comparing ghcid and vim-slime you can also consider the following projects:

ghci-ng

vim-repl - Best REPL environment for Vim

stack - The Haskell Tool Stack

neovim-remote - :ok_hand: Support for --remote and friends.

ghcide - A library for building Haskell IDE tooling

iron.nvim - Interactive Repl Over Neovim

hlint - Haskell source code suggestions

Pluto.jl - 🎈 Simple reactive notebooks for Julia

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

neoterm - Wrapper of some vim/neovim's :terminal functions.

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

vim-ipython-cell - Seamlessly run Python code in IPython from Vim