Skip to content

Commit fcb076c

Browse files
UlfNorellomelkonian
authored andcommitted
Agda 2.6.4 update
1 parent b479463 commit fcb076c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Reflection/TCI.agda

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ MonadError-TC : MonadError (List ErrorPart) TC
3636
MonadError-TC = MonadError-ReaderT ⦃ Class.Monad.Monad-TC ⦄ ⦃ Class.MonadError.MonadError-TC ⦄
3737

3838
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)
4141

4242
applyNormalisation : TC A TC A
4343
applyNormalisation x r@record { normalisation = n } = R.withNormalisation n (applyReductionOptions x r)
4444

4545
applyReconstruction : TC A TC A
4646
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)
4848

4949
applyNoConstraints : TC A TC A
5050
applyNoConstraints x r@record { noConstraints = false } = x r

0 commit comments

Comments
 (0)