Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 2.24 KB

File metadata and controls

61 lines (42 loc) · 2.24 KB

HaskellSpace

A Haskell workspace in your browser (GHC + Stackage + HLS).

Built on GitHub Codespaces. Personal accounts include 60 free hours per month (plan dependent).

To run locally, see LCamel/haskell-devcontainer.

Quick Start (Codespaces)

start

Stack

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.

stack

Customization

Copy .devcontainer/devcontainer.json into your own repo so it can also be opened in the browser. See this guide for further customization.

License

MIT-0 / CC0-1.0