We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfe8671 commit 3ff1fbaCopy full SHA for 3ff1fba
src/Hedgehog/Shrink.fs
@@ -100,11 +100,9 @@ module Shrink =
100
101
102
let inline createTree (destination : ^a) (x : ^a) =
103
- let one = LanguagePrimitives.GenericOne
104
let rec binarySearchTree ((destination : ^a), (x : ^a)) =
105
let xs =
106
- towards (destination + one) x
107
- |> Seq.cons destination
+ towards destination x
108
|> Seq.pairwise
109
|> Seq.map binarySearchTree
110
Node (x, xs)
0 commit comments