Skip to content

Commit ec4a54b

Browse files
authored
chore: bump toolchain to v4.26.0-rc1 (#51)
* patches for nightly-2025-01-04, and drop Batteries dependency * fix adaptation note * merge main * fixes for leanprover/lean4#7516 * merge lean-pr-testing-7516 * deprecations * toolchain * list deprecations * chore: bump toolchain to v4.26.0-rc1
1 parent 0203092 commit ec4a54b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Plausible/Arbitrary.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ instance ULift.Arbitrary [Arbitrary α] : Arbitrary (ULift α) where
158158
arbitrary := do let x : α ← arbitrary; return ⟨x⟩
159159

160160
instance String.Arbitrary : Arbitrary String where
161-
arbitrary := return String.mk (← Gen.listOf arbitrary)
161+
arbitrary := return String.ofList (← Gen.listOf arbitrary)
162162

163163
instance Array.Arbitrary [Arbitrary α] : Arbitrary (Array α) := ⟨Gen.arrayOf arbitrary⟩
164164

Plausible/Sampleable.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ instance ULift.shrinkable [Shrinkable α] : Shrinkable (ULift α) where
233233
shrink u := (shrink u.down).map ULift.up
234234

235235
instance String.shrinkable : Shrinkable String where
236-
shrink s := (shrink s.toList).map String.mk
236+
shrink s := (shrink s.toList).map String.ofList
237237

238238
instance Array.shrinkable [Shrinkable α] : Shrinkable (Array α) where
239239
shrink xs := (shrink xs.toList).map Array.mk

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.25.1
1+
leanprover/lean4:v4.26.0-rc1

0 commit comments

Comments
 (0)