Fast Haskell Scripts on GitHub Actions

2 points by abhin4v


sebastiancarlos

"Magix is a neat tool that lets us run Haskell programs as scripts. We put a shebang on top mentioning Magix, list the Haskell packages we need, and ./script.hs just works."

Other tools like the built-in runghc also allow to run Haskell programs as scripts. And both Cabal and Stack provide shebang ways to declare dependencies and run. I wonder if Magix could be better defined as offering nix dependencies and cached compilation on top of that.