File tree 2 files changed +24
-5
lines changed
2 files changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -1114,6 +1114,11 @@ Deprecated names
1114
1114
map-map-fusion ↦ map-∘
1115
1115
```
1116
1116
1117
+ * In ` Data.Bool.Properties ` (Issue #2046 ):
1118
+ ```
1119
+ push-function-into-if ↦ if-float
1120
+ ```
1121
+
1117
1122
* In ` Data.Fin.Base ` : two new, hopefully more memorable, names ` ↑ˡ ` ` ↑ʳ `
1118
1123
for the 'left', resp. 'right' injection of a Fin m into a 'larger' type,
1119
1124
` Fin (m + n) ` , resp. ` Fin (n + m) ` , with argument order to reflect the
@@ -1138,7 +1143,7 @@ Deprecated names
1138
1143
1139
1144
As with Issue #1726 above: the deprecation of relation ` _≺_ ` means that these definitions
1140
1145
associated with wf-recursion are deprecated in favour of their ` _<_ ` counterparts.
1141
- But it's not quite sensible to say that these definiton should be * renamed* to * anything* ,
1146
+ But it's not quite sensible to say that these definitions should be * renamed* to * anything* ,
1142
1147
least of all those counterparts... the type confusion would be intolerable.
1143
1148
1144
1149
* In ` Data.Fin.Properties ` :
Original file line number Diff line number Diff line change @@ -768,7 +768,21 @@ proof (T? false) = ofⁿ λ()
768
768
T?-diag : ∀ b → T b → True (T? b)
769
769
T?-diag true _ = _
770
770
771
- push-function-into-if : ∀ (f : A → B) x {y z} →
772
- f (if x then y else z) ≡ (if x then f y else f z)
773
- push-function-into-if _ true = refl
774
- push-function-into-if _ false = refl
771
+ if-float : ∀ (f : A → B) b {x y} →
772
+ f (if b then x else y) ≡ (if b then f x else f y)
773
+ if-float _ true = refl
774
+ if-float _ false = refl
775
+
776
+ ------------------------------------------------------------------------
777
+ -- DEPRECATED NAMES
778
+ ------------------------------------------------------------------------
779
+ -- Please use the new names as continuing support for the old names is
780
+ -- not guaranteed.
781
+
782
+ -- Version 2.0
783
+
784
+ push-function-into-if = if-float
785
+ {-# WARNING_ON_USAGE push-function-into-if
786
+ "Warning: push-function-into-if was deprecated in v2.0.
787
+ Please use if-float instead."
788
+ #-}
You can’t perform that action at this time.
0 commit comments