From ec14246d528a6a5dd0f7bceb82d7f30936860545 Mon Sep 17 00:00:00 2001 From: Gary Burgess Date: Tue, 9 May 2017 15:32:15 +0100 Subject: [PATCH] Export `last` for `NonEmptyList`s --- src/Data/List/Lazy/NonEmpty.purs | 1 + src/Data/List/NonEmpty.purs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Data/List/Lazy/NonEmpty.purs b/src/Data/List/Lazy/NonEmpty.purs index 6af4c1e..e4b1d40 100644 --- a/src/Data/List/Lazy/NonEmpty.purs +++ b/src/Data/List/Lazy/NonEmpty.purs @@ -6,6 +6,7 @@ module Data.List.Lazy.NonEmpty , toList , singleton , head + , last , tail , init , uncons diff --git a/src/Data/List/NonEmpty.purs b/src/Data/List/NonEmpty.purs index ad2359a..5ad997b 100644 --- a/src/Data/List/NonEmpty.purs +++ b/src/Data/List/NonEmpty.purs @@ -6,6 +6,7 @@ module Data.List.NonEmpty , toList , singleton , head + , last , tail , init , uncons