This is an example of Haskell project for Visual Studio Code and DevContainers
What works:
- HIE (for GHC 8.6.5)
- Stack
- Debugger
Inspired by: https://hmemcpy.com/2020/02/setting-up-a-haskell-development-environment-in-minutes-in-vscode/
Prerequisites
- Visual Studio Code with Remote Development extension pack
- Docker Desktop v2.0+ (requires Windows 10 Pro/Enterprise)
- Initial Docker setup, detailed here: https://code.visualstudio.com/docs/remote/containers
See also:
- https://github.com/infinisil/all-hies/
- https://github.com/phoityne/hdx4vsc/tree/master/configs
- https://github.com/hmemcpy/haskell-hie-devcontainer/blob/master/.devcontainer/Dockerfile
- https://hub.docker.com/r/hmemcpy/hie/dockerfile
- https://docs.haskellstack.org/en/latest/yaml_configuration/
- https://github.com/phoityne/hdx4vsc