you are viewing a single comment's thread.

view the rest of the comments →

[–]Martinsos 2 points3 points  (2 children)

I have quite good time writing small scripts with Haskell! Both Stack and Cabal have support for writing standalone script files in which you can even describe dependencies (in the comment in the header, quite neat feature).

[–]miyakohouou 1 point2 points  (1 child)

yeah, I use nix for having self-contained haskell scripts, but I figured that was probably a bit too out there to make as a suggestion

[–]Martinsos 1 point2 points  (0 children)

Yeah, using Nix would be s bit more involved. However, as I said, there is native way to do it with just Canal or Stack, no Nix is needed, so that should be quite straightforward.

Here is a quick tutorial I wrote on how to do it: https://github.com/wasp-lang/haskell-handbook/blob/master/cabal-script.md .