We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7519dd commit 9a17b2fCopy full SHA for 9a17b2f
src/Data/String.purs
@@ -174,9 +174,9 @@ dropWhile :: (Char -> Boolean) -> String -> String
174
dropWhile p s = drop (count p s) s
175
176
-- | Returns the substring at indices [begin, end).
177
--- | If either index is negative, it is normalized to `length s - index`,
+-- | If either index is negative, it is normalised to `length s - index`,
178
-- | where `s` is the input string. An empty string is returned if either
179
--- | index is out of bounds or if `begin > end`.
+-- | index is out of bounds or if `begin > end` after normalisation.
180
-- |
181
-- | ```purescript
182
-- | slice 0 1 "purescript" == "p"
0 commit comments