exchangealgebra-0.7.0.0: test/compat-clients/README.md
# P2 external compatibility clients
Run the clients after building the library from the repository root:
```bash
STACK_ARGS="--system-ghc --no-install-ghc" bash test/compat-clients/check.sh
```
`OldPath.hs` checks umbrella imports, operator fixities, a class method call,
a constructor pattern, and the `BasePart` associated type. `NewPath.hs` uses
the defining modules. `MixedPath.hs` combines current paths with retained
simulation paths.
`CompatInstance.hs` defines two client-owned base types. One uses the
`ExBaseClass` defaults, and the other overrides `whatDiv` and `isContra`.
The check fixes the observed debit and credit totals, balance, and `diffRL`
results for both `Alg` and `Journal`. The surface test suite runs these
assertions, and this script also builds and runs them as an installed-package
client with source lookup disabled.