A template haskell project demonstrating how to use a rust library as a dependency. It is integrated with Nix to provide an environment that enables you to:
- Simultaneously develop in Haskell and Rust.
- Use LSP (rust-analyzer and haskell-language-server) for both languages.
- Have builtin support for VSCode (just install direnv, open in VSCode and accept the suggestions).
Install Nix, enable Flakes, open in VSCode and run just run
# Dev shell
nix develop
Or install direnv + nix-direnv and enter the shell on cd
.
We also provide a justfile
for Makefile'esque commands.
This template combines two other templates, with additional tweaks applied on top: