715 B

30-haskell-traverse-resolution

This example shows intermediate Haskell batch resolution with traverse.

It includes:

  • a deployment request type parsed from compact CLI input,
  • a service catalog with per-service release metadata,
  • one traverse pass that resolves every request or fails the whole batch, and
  • a test suite run by nix flake check.

Useful commands:

nix develop
cabal run
cabal run -- api:production:stable worker:staging:candidate auth:production:stable
cabal test

nix build
./result/bin/mini-resolution api:production:stable worker:staging:candidate auth:production:stable

nix run . -- api:production:stable worker:staging:candidate auth:production:stable
nix flake check