Skip to content

Commit c200afb

Browse files
author
Josh Bassett
committed
Fix comment for snoc function.
1 parent 8ee1f69 commit c200afb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/List.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ length = foldl (\acc _ -> acc + 1) 0
200200
-- | Running time: `O(1)`
201201
infixr 6 Cons as :
202202

203-
-- | Append an element to the end of an array, creating a new array.
203+
-- | Append an element to the end of a list, creating a new list.
204204
-- |
205205
-- | Running time: `O(2n)`
206206
snoc :: forall a. List a -> a -> List a

0 commit comments

Comments
 (0)