File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ Bug-fixes
1313
1414* Fix a typo in ` Algebra.Morphism.Construct.DirectProduct ` .
1515
16+ * Fix a typo in ` Data.Rational.Properties ` : ` nonPos*nonPos⇒nonPos ` erroneously named,
17+ corrected to ` nonPos*nonPos⇒nonNeg ` .
18+
1619* Fix a typo in ` Function.Construct.Constant ` .
1720
1821Non-backwards compatible changes
@@ -76,6 +79,11 @@ Deprecated names
7679 ¬∀⟶∃¬- ↦ ¬∀⇒∃¬
7780 ```
7881
82+ * In ` Data.Rational.Properties ` :
83+ ``` agda
84+ nonPos*nonPos⇒nonPos ↦ nonPos*nonPos⇒nonNeg
85+ ```
86+
7987* In ` Data.Vec.Properties ` :
8088 ``` agda
8189 truncate-irrelevant ↦ Relation.Binary.PropositionalEquality.Core.refl
Original file line number Diff line number Diff line change @@ -1389,8 +1389,8 @@ nonNeg*nonPos⇒nonPos p q = nonPositive $ begin
13891389 0ℚ ∎
13901390 where open ≤-Reasoning
13911391
1392- nonPos*nonPos⇒nonPos : ∀ p .{{_ : NonPositive p}} q .{{_ : NonPositive q}} → NonNegative (p * q)
1393- nonPos*nonPos⇒nonPos p q = nonNegative $ begin
1392+ nonPos*nonPos⇒nonNeg : ∀ p .{{_ : NonPositive p}} q .{{_ : NonPositive q}} → NonNegative (p * q)
1393+ nonPos*nonPos⇒nonNeg p q = nonNegative $ begin
13941394 0ℚ ≡⟨ *-zeroʳ p ⟨
13951395 p * 0ℚ ≤⟨ *-monoˡ-≤-nonPos p (nonPositive⁻¹ q) ⟩
13961396 p * q ∎
@@ -1870,3 +1870,11 @@ Please use neg<pos instead."
18701870open Data.Rational.Base public
18711871 using (+-rawMagma; +-0-rawGroup; *-rawMagma; +-*-rawNearSemiring; +-*-rawSemiring; +-*-rawRing)
18721872 renaming (+-0-rawMonoid to +-rawMonoid; *-1-rawMonoid to *-rawMonoid)
1873+
1874+ -- Version 2.4
1875+
1876+ nonPos*nonPos⇒nonPos = nonPos*nonPos⇒nonNeg
1877+ {-# WARNING_ON_USAGE nonPos*nonPos⇒nonPos
1878+ "Warning: nonPos*nonPos⇒nonPos was deprecated in v2.4.
1879+ Please use nonPos*nonPos⇒nonNeg instead."
1880+ #-}
You can’t perform that action at this time.
0 commit comments