Skip to content

Commit 1b32a5c

Browse files
authored
fix takeRight example
1 parent 06e048c commit 1b32a5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/String.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ foreign import take :: Int -> String -> String
352352
-- | Returns the last `n` characters of the string.
353353
-- |
354354
-- | ```purescript
355-
-- | take 5 "Hello World" == "World"
355+
-- | takeRight 5 "Hello World" == "World"
356356
-- | ```
357357
-- |
358358
takeRight :: Int -> String -> String

0 commit comments

Comments
 (0)