Skip to content

Commit b69dff8

Browse files
authored
Merge pull request purescript#103 from safareli/patch-1
fix takeRight example
2 parents 06e048c + 1b32a5c commit b69dff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/String.purs

+1-1
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)