We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3515c22 commit f59a634Copy full SHA for f59a634
CHANGELOG.md
@@ -9,6 +9,10 @@ Highlights
9
Bug-fixes
10
---------
11
12
+* Fix statement of `Data.Vec.Properties.toList-replicate`, where `replicate`
13
+ was mistakenly applied to the level of the type `A` instead of the
14
+ variable `x` of type `A`.
15
+
16
Non-backwards compatible changes
17
--------------------------------
18
src/Data/Vec/Properties.agda
@@ -1144,7 +1144,7 @@ zipWith-replicate₂ _⊕_ (x ∷ xs) y =
1144
cong (x ⊕ y ∷_) (zipWith-replicate₂ _⊕_ xs y)
1145
1146
toList-replicate : ∀ (n : ℕ) (x : A) →
1147
- toList (replicate n a) ≡ List.replicate n a
+ toList (replicate n x) ≡ List.replicate n x
1148
toList-replicate zero x = refl
1149
toList-replicate (suc n) x = cong (_ List.∷_) (toList-replicate n x)
1150
0 commit comments