A Haskell workspace in your browser (GHC + Stackage + HLS).
Built on GitHub Codespaces. Personal accounts include 60 free hours per month (plan dependent).
- In GitHub, click
Code → Codespaces → Create codespace on main(sign in first). - Or open: https://codespaces.new/LCamel/HaskellSpace
- Manage your Codespaces: https://github.com/codespaces/
Use the snapshot pinned in ~/.haskell-devcontainer/stackage-version .
# Create a sample project
# Build and install foo-exe into your PATH
# Run
# Clean up the generated project
stack new foo --bare --resolver "$(cat ~/.haskell-devcontainer/stackage-version)"
stack install
foo-exe
git clean -fx .If you see incorrect or stale Haskell diagnostics in the editor, run >Haskell: Restart Haskell LSP server from the Command Palette.
Copy .devcontainer/devcontainer.json into your own repo so it can also be opened in the browser. See this guide for further customization.
To run locally, see LCamel/haskell-devcontainer.

