Skip to content

Commit

Permalink
Merge pull request #11 from DilsonHiga/main
Browse files Browse the repository at this point in the history
Exposes CodePoint.parsePartialUtf8
  • Loading branch information
lukewilliamboswell authored Jul 10, 2024
2 parents 364b7a6 + 49dd453 commit 90a8200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/CodePoint.roc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module [
isHighSurrogate,
isLowSurrogate,
isValidScalar,
parsePartialUtf8,
appendUtf8,
parseUtf8,
countUtf8Bytes,
Expand Down Expand Up @@ -122,7 +123,6 @@ appendUtf8 = \bytes, codePoint ->
## This was an invalid Unicode scalar value, even though it had the Roc type Scalar.
## This should never happen!
# expect u32 < 0x110000

byte1 =
u32
|> Num.shiftRightBy 18
Expand Down

0 comments on commit 90a8200

Please sign in to comment.