Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use truncated subtraction in
assignCoinsToChangeMaps
. (#4123)
## Issues - Follow-on from #4110 - ADP-1449 ## Description This PR replaces the use of `Coin.distance` with [`Monus.<\>`](https://hackage.haskell.org/package/monoid-subclasses-1.2.3/docs/Data-Monoid-Monus.html#v:-60--92--62-), which (in the case of `Coin` arguments) performs truncated subtraction of the second argument from the first.
- Loading branch information