Skip to content

Commit c20e30d

Browse files
authored
Merge pull request #114 from purescript/nel-last
Export `last` for `NonEmptyList`s
2 parents 632e954 + ec14246 commit c20e30d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Data/List/Lazy/NonEmpty.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module Data.List.Lazy.NonEmpty
66
, toList
77
, singleton
88
, head
9+
, last
910
, tail
1011
, init
1112
, uncons

src/Data/List/NonEmpty.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module Data.List.NonEmpty
66
, toList
77
, singleton
88
, head
9+
, last
910
, tail
1011
, init
1112
, uncons

0 commit comments

Comments
 (0)