Skip to content

Commit eeb49e6

Browse files
committed
refactor: deprecate second definition
1 parent 3cd9e7b commit eeb49e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Function/Bundles.agda

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ module _ (From : Setoid a ℓ₁) (To : Setoid b ℓ₂) where
125125

126126
to∘to⁻ : StrictlyInverseˡ _≈₂_ to section
127127
to∘to⁻ = section-strictInverseˡ
128+
{-# WARNING_ON_USAGE to∘to⁻
129+
"Warning: to∘to⁻ was deprecated in v2.3.
130+
Please use Function.Structures.IsSurjection.section-strictInverseˡ instead. "
131+
#-}
128132

129133

130134
record Bijection : Set (a ⊔ b ⊔ ℓ₁ ⊔ ℓ₂) where

0 commit comments

Comments
 (0)