Skip to content

Commit d58d6e7

Browse files
authored
Avoid new warning
1 parent bab7033 commit d58d6e7

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
@@ -90,10 +90,10 @@ module NonEmptySeq =
9090
let create x xs = seq { yield x; yield! xs } |> unsafeOfSeq
9191

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

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

9898

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

0 commit comments

Comments
 (0)