cabal2nix
ghcup-hs
Our great sponsors
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
- SaaSHub - Software Alternatives and Reviews
cabal2nix | ghcup-hs | |
---|---|---|
1 | 21 | |
337 | 230 | |
0.9% | 8.3% | |
0.0 | 0.0 | |
29 days ago | 1 day ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | GNU Lesser General Public License v3.0 only |
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.
cabal2nix
ghcup-hs
-
Neovim: How to get variable type hinting?
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.
-
Haskell IDE setup
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
-
I want to move from linux to bsd
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"?
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
Follow the instructions here: GHCup
This is the first release that was executed via the new GitHub CI. Everything went smoothly, except for an unexpected packaging bug on windows due to text-2.0 linking against libstdc++ by default.
- No HLS support for the "recommended" 9.2.5?
-
dev environment for windows
https://www.haskell.org/ghcup/ is the easiest way to get set up. It supports Windows installation through Powershell, or you can use the linux instructions to install it in WSL. There’s a slight performance impact to WSL, but especially for starting out just choose whichever environment is most comfortable.
What are some alternatives?
stack - The Haskell Tool Stack
cblrepo - Tool to simplify managing a consistent set of Haskell packages for distributions.
TermuxArch - Experience the pleasure of the Linux command prompt in Android, Chromebook, Fire OS and Windows on smartphone, smartTV, tablet and wearable https://termuxarch.github.io/TermuxArch/
ekg-json - JSON encoding of ekg metrics
jailbreak-cabal - Strip version restrictions from build dependencies in Cabal files.
Cabal - Official upstream development repository for Cabal and cabal-install
stackage - Stable Haskell package sets: vetted consistent packages from Hackage
termux-packages - A package build system for Termux.
packunused - Tool for detecting redundant Cabal package dependencies
distribution-nixpkgs - Haskell types and functions to represent, query, and manipulate the Nixpkgs distribution. | Source has moved to https://github.com/nixos/cabal2nix
ghc-dump - A GHC plugin and library for analysing GHC Core