Skip to content

Commit d317607

Browse files
committed
Avoid new warning
1 parent 86a31b0 commit d317607

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FSharpPlus/Data/NonEmptySeq.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,10 @@ module NonEmptySeq =
224224
let create x xs = seq { yield x; yield! xs } |> unsafeOfSeq
225225

226226
/// Creates a NonEmptySeq range, containing at least the first element of the range
227-
let (|..) starting ending = (if starting < ending then { starting .. ending } else Seq.singleton starting) |> unsafeOfSeq
227+
let (|..) starting ending = (if starting < ending then seq { starting .. ending } else Seq.singleton starting) |> unsafeOfSeq
228228

229229
/// Creates a NonEmptySeq range, containing at least the last element of the range
230-
let (..|) starting ending = (if starting < ending then { starting .. ending } else Seq.singleton ending) |> unsafeOfSeq
230+
let (..|) starting ending = (if starting < ending then seq { starting .. ending } else Seq.singleton ending) |> unsafeOfSeq
231231

232232

233233
/// <summary>Returns a new sequence that contains all pairings of elements from the first and second sequences.</summary>

0 commit comments

Comments
 (0)