26 lines
594 B
Markdown
Raw Normal View History

# 36-haskell-map-set-modeling
This example shows intermediate Haskell domain modeling with `Map` and `Set`.
It includes:
- a release-access policy stored in maps and sets,
- team membership, service ownership, and environment grants,
- a CLI that reports required owners and unexpected approvers, and
- a test suite run by `nix flake check`.
Useful commands:
```bash
nix develop
cabal run
cabal run -- api:production:platform,security
cabal test
nix build
./result/bin/mini-access-policy api:production:platform,security
nix run . -- api:production:platform,security
nix flake check
```