File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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
220220-- | time linear to the length of the string.
221221-- |
222222-- | ```purescript
223- -- | >>> countPrefix (\c -> codePointToInt c == 0x1D400) "𝐀𝐀 b c 𝐀"
223+ -- | >>> countPrefix (\c -> fromEnum c == 0x1D400) "𝐀𝐀 b c 𝐀"
224224-- | 2
225225-- | ```
226226-- |
@@ -329,7 +329,7 @@ takeFallback n s = case uncons s of
329329-- | in time linear to the length of the string.
330330-- |
331331-- | ```purescript
332- -- | >>> takeWhile (\c -> codePointToInt c == 0x1D400) "𝐀𝐀 b c 𝐀"
332+ -- | >>> takeWhile (\c -> fromEnum c == 0x1D400) "𝐀𝐀 b c 𝐀"
333333-- | "𝐀𝐀"
334334-- | ```
335335-- |
@@ -356,7 +356,7 @@ drop n s = CU.drop (CU.length (take n s)) s
356356-- | to the length of the string.
357357-- |
358358-- | ```purescript
359- -- | >>> dropWhile (\c -> codePointToInt c == 0x1D400) "𝐀𝐀 b c 𝐀"
359+ -- | >>> dropWhile (\c -> fromEnum c == 0x1D400) "𝐀𝐀 b c 𝐀"
360360-- | " b c 𝐀"
361361-- | ```
362362-- |
You can’t perform that action at this time.
0 commit comments