Skip to content

Commit d94d97e

Browse files
committed
Fix splitAt example
1 parent 80dcf7e commit d94d97e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/String/CodePoints.purs

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ dropWhile p s = drop (countPrefix p s) s
369369
-- |
370370
-- | ```purescript
371371
-- | >>> splitAt 3 "b 𝐀𝐀 c 𝐀"
372-
-- | Just { before: "b 𝐀", after: "𝐀 c 𝐀" }
372+
-- | { before: "b 𝐀", after: "𝐀 c 𝐀" }
373373
-- | ```
374374
-- |
375375
-- | Thus the length of `(splitAt i s).before` will equal either `i` or

0 commit comments

Comments
 (0)