From d8f5baa6cfaaaa91a2d2430b70d7c47e0af391c8 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Mon, 23 Jul 2018 22:14:30 +0300 Subject: [PATCH] Fix a typo `dropEnd` drops elements from the *end* of an array. --- src/Data/Array.purs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Data/Array.purs b/src/Data/Array.purs index 4ddcfafc..9cdf06fe 100644 --- a/src/Data/Array.purs +++ b/src/Data/Array.purs @@ -779,7 +779,7 @@ takeWhile p xs = (span p xs).init -- | foreign import drop :: forall a. Int -> Array a -> Array a --- | Drop a number of elements from the start of an array, creating a new array. +-- | Drop a number of elements from the end of an array, creating a new array. -- | -- | ```purescript -- | letters = ["a", "b", "c", "d"]