File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ length = Array.length <<< toCodePointArray
220
220
-- | time linear to the length of the string.
221
221
-- |
222
222
-- | ```purescript
223
- -- | >>> countPrefix (\c -> codePointToInt c == 0x1D400) "𝐀𝐀 b c 𝐀"
223
+ -- | >>> countPrefix (\c -> fromEnum c == 0x1D400) "𝐀𝐀 b c 𝐀"
224
224
-- | 2
225
225
-- | ```
226
226
-- |
@@ -329,7 +329,7 @@ takeFallback n s = case uncons s of
329
329
-- | in time linear to the length of the string.
330
330
-- |
331
331
-- | ```purescript
332
- -- | >>> takeWhile (\c -> codePointToInt c == 0x1D400) "𝐀𝐀 b c 𝐀"
332
+ -- | >>> takeWhile (\c -> fromEnum c == 0x1D400) "𝐀𝐀 b c 𝐀"
333
333
-- | "𝐀𝐀"
334
334
-- | ```
335
335
-- |
@@ -356,7 +356,7 @@ drop n s = CU.drop (CU.length (take n s)) s
356
356
-- | to the length of the string.
357
357
-- |
358
358
-- | ```purescript
359
- -- | >>> dropWhile (\c -> codePointToInt c == 0x1D400) "𝐀𝐀 b c 𝐀"
359
+ -- | >>> dropWhile (\c -> fromEnum c == 0x1D400) "𝐀𝐀 b c 𝐀"
360
360
-- | " b c 𝐀"
361
361
-- | ```
362
362
-- |
You can’t perform that action at this time.
0 commit comments