-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't trace rewrites and equation applications if not requested (#225)
Fixes #224 and #126 * Refactor `EquatioM` to `EquationT` - make it a monad transformer - Move immutable data to a `ReaderT` - Add `MonadLoggerIO` constraint on interface functions * Refactor `RewriteM` to `RewriteT` - make it a monad transformer - Make the reader config a proper product type, rather then a tuple - Add `MonadLoggerIO` constraint on interface functions * Thread tracing flag down to rewrites and equation applications. Only accumulate traces if the flag is set. Currently, the `doTracing` flag is less granular than the RPC request tracing options: we will collect all traces if any of the four RPC options is set. We should probably address this in a follow-up PR.
- Loading branch information
Showing
5 changed files
with
194 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.