File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ MonadError-TC : MonadError (List ErrorPart) TC
36
36
MonadError-TC = MonadError-ReaderT ⦃ Class.Monad.Monad-TC ⦄ ⦃ Class.MonadError.MonadError-TC ⦄
37
37
38
38
applyReductionOptions : TC A → TC A
39
- applyReductionOptions x r@record { reduction = onlyReduce red } = R'.onlyReduceDefs red (x r)
40
- applyReductionOptions x r@record { reduction = dontReduce red } = R'.dontReduceDefs red (x r)
39
+ applyReductionOptions x r@record { reduction = onlyReduce red } = R'.withReduceDefs (true , red) (x r)
40
+ applyReductionOptions x r@record { reduction = dontReduce red } = R'.withReduceDefs (false , red) (x r)
41
41
42
42
applyNormalisation : TC A → TC A
43
43
applyNormalisation x r@record { normalisation = n } = R.withNormalisation n (applyReductionOptions x r)
44
44
45
45
applyReconstruction : TC A → TC A
46
46
applyReconstruction x r@record { reconstruction = false } = x r
47
- applyReconstruction x r@record { reconstruction = true } = R'.withReconstructed (x r)
47
+ applyReconstruction x r@record { reconstruction = true } = R'.withReconstructed true (x r)
48
48
49
49
applyNoConstraints : TC A → TC A
50
50
applyNoConstraints x r@record { noConstraints = false } = x r
You can’t perform that action at this time.
0 commit comments