Skip to content

Commit 59f3692

Browse files
committed
reference do Data.String.CodeUnits.length
1 parent 414b9c9 commit 59f3692

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Data/String/CodePoints.purs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ uncons s = case CU.length s of
207207
-- | ```purescript
208208
-- | >>> length "b 𝐀𝐀 c 𝐀"
209209
-- | 8
210+
-- | -- compare to Data.String.CodeUnits:
211+
-- | >>> length "b 𝐀𝐀 c 𝐀"
212+
-- | 11
210213
-- | ```
211214
-- |
212215
length :: String -> Int

0 commit comments

Comments
 (0)