Skip to content

Commit 1c422dc

Browse files
committed
+ Explicit overload for Head
1 parent 5453582 commit 1c422dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FSharpPlus/Data/NonEmptySeq.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ type NonEmptySeq<'t> =
5555
static member Lift3 (f, x: NonEmptySeq<_> , y: NonEmptySeq<_> , z: NonEmptySeq<_>) = NonEmptySeq<_>.lift3 f x y z
5656
static member IsLeftZero (_: NonEmptySeq<_>) = false
5757

58-
// no need, it should take the one from Seq --> member this.Head (x: NonEmptySeq<'T> , [<Optional>]_impl: Head ) = x.First
58+
member this.Head (x: NonEmptySeq<'T> , [<Optional>]_impl: Head) = x.First
5959

6060
static member TryHead (x: NonEmptySeq<'T>,[<Optional>]_impl: TryHead) = Some x.First
6161
static member TryLast (x: NonEmptySeq<'T>, [<Optional>]_impl: TryLast) = Some <| Seq.last x

0 commit comments

Comments
 (0)