ghcup-hs VS stack

Compare ghcup-hs vs stack and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
ghcup-hs stack
25 47
248 3,944
3.2% 0.2%
9.4 9.9
5 days ago 6 days ago
Haskell Haskell
GNU Lesser General Public License v3.0 only 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.

ghcup-hs

Posts with mentions or reviews of ghcup-hs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-15.
  • Revisiting Haskell after 10 years
    8 projects | dev.to | 15 Jan 2024
    The compiler now shows more helpful error messages and GHCup allows us to manage multiple versions of GHC, Stack, and HLS (Haskell Language Server) in a breeze. Compilation time is faster now, but I believe it is because hardware has become faster over the years. Unfortunately, cross-compiling is not yet as simple.
  • -❄️- 2023 Day 5 Solutions -❄️-
    149 projects | /r/adventofcode | 5 Dec 2023
    Install Haskell using GHCup. In days of old installing Haskell used to be a pain, but nowadays Haskell comes with a self-isolated thing call ghcup - you install it once, and then it installs the rest of the universe in its own isolated directory that can be independently deleted or updated without affecting the rest of your system.
  • Need Help with getting Haskell onto my Windows Laptop
    2 projects | /r/haskell | 4 Dec 2023
    Try this https://www.haskell.org/ghcup/ but with Window's WSL2.
  • Neovim: How to get variable type hinting?
    4 projects | /r/haskell | 12 May 2023
    I have been using helix with ghcup installed ghc(s) and language servers. It works with Haskell out of box, no configuration necessary. Helix is a modal editor, similar to but distinctly different from the vi family. Although a long time vim user I have found the switch to helix not too difficult and definitely worth the trouble.
  • Haskell ecosystem questions.
    5 projects | /r/haskell | 17 Mar 2023
  • Haskell IDE setup
    3 projects | /r/haskell | 24 Feb 2023
    makefile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) export PATH := $(makefile_dir):$(PATH) project_name ?= project_main ?= src/.hs retag_file ?= $(project_main) stack.yaml: @test -f stack.yaml || (echo -e "This makefile requires a 'stack.yaml' for your project.\nYou don't need to use 'stack' to build your project.\nYou just need a 'stack.yaml' specifying a resolver compatible with your GHC version.\nSee https://www.stackage.org/" && exit 1) stack: stack.yaml @which stack || (echo -e "This makefile requires 'stack' to be on your path. Use GHCup to install it.\nSee https://www.haskell.org/ghcup/" && exit 1) .PHONY: stack warning.txt: -@uname -a | grep -q Darwin && echo "WARNING: On Mac, you must alias 'make' to 'gmake' in your shell config file (e.g. ~/.bashrc or ~/.zshrc). Symbolic links will not work." | tee warning.txt @echo "Add 'warning.txt' to your .gitignore file if you never want to see this message again." hasktags: warning.txt stack @echo 'stack exec -- hasktags' > hasktags @chmod +x hasktags @echo "You might like to add 'hasktags' to your .gitignore file." format: stack @stack exec -- fourmolu --stdin-input-file $(project_main) .PHONY: format retag: warning.txt stack @stack exec -- haskdogs -i $(retag_file) --hasktags-args "-x -c -a" | sort -u -o tags tags .PHONY: retag tags: warning.txt hasktags stack @stack exec -- haskdogs .PHONY: tags ghcid: stack @stack exec -- ghcid \ --command 'stack repl --ghc-options "-fno-code -fno-break-on-exception -fno-break-on-error -v1 -ferror-spans -j"' \ --restart stack.yaml \ --restart $(project_name).cabal \ --warnings \ --outputfile ./ghcid.txt .PHONY: ghcid
  • Any open source projects to contribute to for beginners
    8 projects | /r/haskell | 13 Feb 2023
  • I want to move from linux to bsd
    5 projects | /r/freebsd | 4 Feb 2023
    I don't know what FreeBSD's reasons for removing Haskell from the ports tree was -- but in any case, Haskell likes to have its own development & runtime environments. The recommended method (for Linux, as well as FreeBSD) to install the package managers (cabal & stack), & the toolchain nowadays is 'ghcup': https://www.haskell.org/ghcup/
  • Already learned Scala syntax. Should the next book be "SICP" or "Function Programming in Scala"?
    2 projects | /r/scala | 24 Jan 2023
    If you want a solid understanding of FP and not just FP in Scala, I highly recommend installing GHCup and working through Haskell Programming From First Principles. Then I would work through Scala With Cats, Essential Effects, and Practical FP in Scala for how all of that maps onto Scala.
  • [ANN] GHCup-0.1.19.0 released
    4 projects | /r/haskell | 13 Jan 2023
    Follow the instructions here: GHCup

stack

Posts with mentions or reviews of stack. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-24.
  • Leaving Haskell Behind
    7 projects | news.ycombinator.com | 24 Aug 2023
    Ah, didn't run into this issue, as I don't use vscode.

    Apparently there is some work being done to improve the stack <> hls experience, but I wouldn't know how it's going and when it's being delivered: https://github.com/commercialhaskell/stack/issues/6154

  • ANN: stack-2.11.1
    2 projects | /r/haskell | 18 May 2023
    Fix incorrect warning if allow-newer-deps are specified but allow-newer is false. See #6068.
    2 projects | /r/haskell | 18 May 2023
    See https://haskellstack.org/ for installation and upgrade instructions.
  • PEP 582 rejected - consensus among the community needed
    7 projects | /r/Python | 28 Mar 2023
    Fair enough! Thanks for the suggestion, then. In fact, the non-Python language I develop most in (Haskell, with the Stack package manager) has exactly that behaviour as a default: new packages are installed to a sandboxed local directory, and it takes an explicit request to install something globally. (And even then, you can switch between different global "known good configurations" of package versions which work well together – a pretty handy feature.)
  • Any open source projects to contribute to for beginners
    8 projects | /r/haskell | 13 Feb 2023
  • ANN: stack-2.9.3
    2 projects | /r/haskell | 17 Dec 2022
    In YAML configuration files, the hackage-security key of the package-index key or the package-indices item can be omitted, and the Hackage Security configuration for the item will default to that for the official Hackage server. See #5870.
    2 projects | /r/haskell | 17 Dec 2022
    See https://haskellstack.org/ for installation and upgrade instructions.
  • [ANN] First release candidate for stack-2.9.3
    5 projects | /r/haskell | 22 Nov 2022
    Yes, that is correct. Stack's allow-newer: true configuration has always actually meant 'ignore bounds'. However, the author of the allow-newer-deps development has in mind a further development that will introduce an actual ignore-bounds key with the same expressive syntax that is used by Cabal. This is discussed at Stack #5910.
    5 projects | /r/haskell | 22 Nov 2022
    You can download binaries for this pre-release from: Release rc/v2.9.2.1 (release candidate) · commercialhaskell/stack · GitHub.
  • how do I specify cabal fields to stack?
    2 projects | /r/haskell | 20 Oct 2022
    I'm trying to use the cabal mixins feature to automatically replace every implicit prelude import with a custom prelude (in this case relude). apparently it doesn't play well with `stack repl` https://github.com/commercialhaskell/stack/issues/5077 but I don't really use it anyway.

What are some alternatives?

When comparing ghcup-hs and stack you can also consider the following projects:

Cabal - Official upstream development repository for Cabal and cabal-install

ghcid - Very low feature GHCi based IDE

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

haskell-language-server - Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.

profiterole - GHC prof manipulation script

implicit-hie - Auto generate a stack or cabal multi component hie.yaml file

bisect-binary - Tool to determine relevant parts of binary data

stack-yaml - parse stack.yaml files

hdocs - Haskell docs tool

fast-tags - Incremental vi and emacs tags for haskell.

bumper - Haskell tool to automatically bump package versions transitively.

nix-haskell-example