File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
Relation/Nullary/Decidable Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -744,7 +744,7 @@ Additions to existing modules
744
744
recompute : Reflects A b → Recomputable A
745
745
recompute-constant : (r : Reflects A b) (p q : A) → recompute r p ≡ recompute r q
746
746
```
747
-
747
+
748
748
* Added new definitions in ` Relation.Unary `
749
749
```
750
750
Stable : Pred A ℓ → Set _
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ open import Data.Unit.Base using (⊤)
16
16
open import Data.These.Base using (These; this; that; these)
17
17
open import Data.Product.Base as Prod using (_×_; _,_)
18
18
open import Function.Base using (_∘_; id; const)
19
- import Relation.Nullary.Decidable.Core
19
+ import Relation.Nullary.Decidable.Core as Dec
20
20
21
21
private
22
22
variable
@@ -134,12 +134,15 @@ thatM : Maybe A → B → These A B
134
134
thatM = maybe′ these that
135
135
136
136
------------------------------------------------------------------------
137
- -- Deprecated
137
+ -- DEPRECATED NAMES
138
+ ------------------------------------------------------------------------
139
+ -- Please use the new names as continuing support for the old names is
140
+ -- not guaranteed.
138
141
139
142
-- Version 2.1
140
- -- decToMaybe
143
+ -- decToMaybe #2330/2336
141
144
142
- decToMaybe = Relation.Nullary.Decidable.Core. decToMaybe
145
+ open Dec public using ( decToMaybe)
143
146
{-# WARNING_ON_USAGE decToMaybe
144
147
"Warning: decToMaybe was deprecated in v2.1.
145
148
Please use Relation.Nullary.Decidable.Core.decToMaybe instead."
Original file line number Diff line number Diff line change 11
11
12
12
module Relation.Nullary.Decidable.Core where
13
13
14
- -- decToMaybe was intended to be deprecated in v2.1 #2330/#2336
14
+ -- decToMaybe was deprecated in v2.1 #2330/#2336
15
15
-- this can go through `Data.Maybe.Base` once that deprecation is fully done.
16
16
open import Agda.Builtin.Maybe using (Maybe; just; nothing)
17
17
You can’t perform that action at this time.
0 commit comments