mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Remove Str.fromUtf8Range
Seamless slices make this obsolete!
This commit is contained in:
parent
74e58d3d51
commit
37b154df4f
15 changed files with 94 additions and 219 deletions
|
@ -13,7 +13,7 @@ pub enum LowLevel {
|
|||
StrSplit,
|
||||
StrCountUtf8Bytes,
|
||||
StrFromInt,
|
||||
StrFromUtf8Range,
|
||||
StrFromUtf8,
|
||||
StrToUtf8,
|
||||
StrRepeat,
|
||||
StrFromFloat,
|
||||
|
@ -257,7 +257,7 @@ map_symbol_to_lowlevel! {
|
|||
StrEndsWith <= STR_ENDS_WITH;
|
||||
StrSplit <= STR_SPLIT;
|
||||
StrCountUtf8Bytes <= STR_COUNT_UTF8_BYTES;
|
||||
StrFromUtf8Range <= STR_FROM_UTF8_RANGE_LOWLEVEL;
|
||||
StrFromUtf8 <= STR_FROM_UTF8_LOWLEVEL;
|
||||
StrToUtf8 <= STR_TO_UTF8;
|
||||
StrRepeat <= STR_REPEAT;
|
||||
StrTrim <= STR_TRIM;
|
||||
|
|
|
@ -1328,7 +1328,7 @@ define_builtins! {
|
|||
40 STR_WALK_UTF8_WITH_INDEX: "walkUtf8WithIndex"
|
||||
41 STR_RESERVE: "reserve"
|
||||
42 STR_TO_NUM: "strToNum"
|
||||
43 STR_FROM_UTF8_RANGE_LOWLEVEL: "fromUtf8RangeLowlevel"
|
||||
43 STR_FROM_UTF8_LOWLEVEL: "fromUtf8Lowlevel"
|
||||
44 STR_CAPACITY: "capacity"
|
||||
45 STR_REPLACE_EACH: "replaceEach"
|
||||
46 STR_REPLACE_FIRST: "replaceFirst"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue