Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5e661c0

Browse files
committedNov 20, 2023
Add Head
1 parent e5ed940 commit 5e661c0

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+
static member 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)
Please sign in to comment.