Similar to the Cardano Skeleton, this repository serves as an example of how a downstream user of both Nix and Hasktorch can set up a development environment.
- Fork this repo and clone it locally.
- Launch a Nix shell with (optionally) CUDA,
ghcide
, and VS Code,nix-shell --arg cudaSupport true --argstr cudaMajorVersion 10 --command "code ."
- Install the Haskell Language Server plugin and set the
HIE Variant
toghcide
.
Happy Hasktorch hacking!