Some random questions and answers that are too short to grant being in their own file.
I spent a lot of time trying to setup a Haskell project for building
web apps that would work with haskell-language-server. And since I
always liked to build tools that help people, I'm sharing this.
Hopefully this will help you.
Good question. I actually started with reflex-platform and have
another repo
setup with it. I spent a lot of time trying to get
haskell-language-server to work, mostly on getting the exact
versions of dependencies correctly, and managed it once. But then I
tried catching up on reflex-platform versions and couldn't build
haskell-language-server.
I liked that haskell.nix would automatically figure out a plan given
the constraints in a .cabal file. Everything didn't work out of the
box but at least I didn't need to figure out myself the exact version
of my dependencies.
I don't think there's a good reason apart from this FRP idiom really resonates with me and I want to try using it.
I did try
out
optparse-applicative but find it a bit too verbose to my taste. I
wanted to try something else and found cmdargs. We'll see how that
goes.
I'm using NixOS/nixpkgs so I can only offer help if you use that. I
simply installed the pkgs.haskell.compiler.ghcjs package.
Because it allows you get new updates from the template! See https://copier.readthedocs.io/en/stable/updating/
I installed pipx then did pipx install copier. This installs the
binary at ~/.local/bin/copier.
See the Readme.md.