Skip to content

Commit d7a78ef

Browse files
cknittclaude
andcommitted
Merge char-intervals: type the runtime code point lookup as int
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JALXUyHhkDqzcB3WuW9Svo Signed-off-by: Christoph Knittel <ck@cca.io>
2 parents 4d2e390 + 3a1eed4 commit d7a78ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/@rescript/runtime/Primitive_string_extern.res‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
external length: string => int = "%string_length"
88

9-
@send external getChar: (string, int) => option<char> = "codePointAt"
9+
@send external getChar: (string, int) => option<int> = "codePointAt"

0 commit comments

Comments
 (0)