@@ -110,10 +110,10 @@ f $- = f _
110
110
-- Case expressions (to be used with pattern-matching lambdas, see
111
111
-- README.Case).
112
112
113
- case_return_of_ : ∀ {A : Set a} (x : A) (B : A → Set b) →
113
+ case_returning_of_ : ∀ {A : Set a} (x : A) (B : A → Set b) →
114
114
((x : A) → B x) → B x
115
- case x return B of f = f x
116
- {-# INLINE case_return_of_ #-}
115
+ case x returning B of f = f x
116
+ {-# INLINE case_returning_of_ #-}
117
117
118
118
------------------------------------------------------------------------
119
119
-- Non-dependent versions of dependent operations
@@ -156,7 +156,7 @@ _|>′_ = _|>_
156
156
-- README.Case).
157
157
158
158
case_of_ : A → (A → B) → B
159
- case x of f = case x return _ of f
159
+ case x of f = case x returning _ of f
160
160
{-# INLINE case_of_ #-}
161
161
162
162
------------------------------------------------------------------------
@@ -247,10 +247,24 @@ _*_ on f = f -⟨ _*_ ⟩- f
247
247
248
248
249
249
------------------------------------------------------------------------
250
- -- Deprecated
250
+ -- DEPRECATED NAMES
251
+ ------------------------------------------------------------------------
252
+ -- Please use the new names as continuing support for the old names is
253
+ -- not guaranteed.
254
+
255
+ -- Version 1.4
251
256
252
257
_-[_]-_ = _-⟪_⟫-_
253
258
{-# WARNING_ON_USAGE _-[_]-_
254
259
"Warning: Function._-[_]-_ was deprecated in v1.4.
255
260
Please use _-⟪_⟫-_ instead."
256
261
#-}
262
+
263
+ -- Version 2.0
264
+
265
+ case_return_of_ = case_returning_of_
266
+ {-# WARNING_ON_USAGE case_return_of_
267
+ "case_return_of_ was deprecated in v2.0.
268
+ Please use case_returning_of_ instead."
269
+ #-}
270
+
0 commit comments