# Haskell Setup And TestsInstall GHC 9.0 or newer and Python 3.10 or newer. The Core uses the GHC bootpackages `base` and `containers`; Cabal is optional. The reported Windows runused GHC 9.12.2. From the repository root, adjust the compiler path for thelocal installation:```powershell$env:GHC = 'D:\dev\ghc-9.12.2-x86_64-unknown-mingw32\bin\ghc.exe'& $env:GHC --versionpython language/haskell/run-tests.pypython language/haskell/api-snapshot.py --check```The test driver builds and runs the native regression tests and all elevenconformance vector groups, and checks the API snapshot and parity inventory. Thereported Windows run passed all declared vectors and the native runtime,middleware, and agent tests; the driver's successful run includes the snapshotcheck. Alternatively pass `--compiler` to select GHC. Build products go to`language/haskell/build/`.To exercise the conformance executable's argument validation after the driverbuilds it, run from the repository root. Both invocations should print usageand exit nonzero:```powershell& language/haskell/build/conformance/run.exe$LASTEXITCODE& language/haskell/build/conformance/run.exe spec extra$LASTEXITCODE```Broader repository metadata and parity checks can be run separately:```powershellpython -m scripts.validation.test_layout$env:GOWORK = 'off'go test ./internal/spec/...```On Windows, the standalone snapshot check passed, the layout check passed all8 tests, and the Go specification tests passed. The broader checks are notpart of the Haskell test driver.With Cabal and boot packages available, from `language/haskell/`:```textcabal build --offline allcabal test --offlinecabal run --offline praxo-haskell-conformance -- ../../spec```The Cabal commands were not verified in the reported Windows run. Offlineexecution requires Cabal and the necessary dependencies to be available locally.Regenerate the source API inventory after reviewing intentional API changes with`python language/haskell/api-snapshot.py`. The shared parity inventory currentlydoes not describe the new agent loop.