Skip to content

Commit d8f5baa

Browse files
authored
Fix a typo
`dropEnd` drops elements from the *end* of an array.
1 parent 7bdd04c commit d8f5baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Array.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ takeWhile p xs = (span p xs).init
779779
-- |
780780
foreign import drop :: forall a. Int -> Array a -> Array a
781781

782-
-- | Drop a number of elements from the start of an array, creating a new array.
782+
-- | Drop a number of elements from the end of an array, creating a new array.
783783
-- |
784784
-- | ```purescript
785785
-- | letters = ["a", "b", "c", "d"]

0 commit comments

Comments
 (0)