mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Leave other string builtins for later
This commit is contained in:
parent
03c19b727a
commit
a3bfee5cd8
1 changed files with 4 additions and 17 deletions
|
@ -28,24 +28,11 @@ pub fn decode_low_level<'a>(
|
|||
|
||||
match lowlevel {
|
||||
StrConcat => return BuiltinCall(bitcode::STR_CONCAT),
|
||||
StrJoinWith => return BuiltinCall(bitcode::STR_JOIN_WITH),
|
||||
StrIsEmpty => return NotImplemented,
|
||||
StrStartsWith => return BuiltinCall(bitcode::STR_STARTS_WITH),
|
||||
StrStartsWithCodePt => return BuiltinCall(bitcode::STR_STARTS_WITH_CODE_PT),
|
||||
StrEndsWith => return BuiltinCall(bitcode::STR_ENDS_WITH),
|
||||
StrSplit => return NotImplemented,
|
||||
StrCountGraphemes => return NotImplemented,
|
||||
StrFromInt => return NotImplemented,
|
||||
StrFromUtf8 => return BuiltinCall(bitcode::STR_FROM_UTF8),
|
||||
StrTrimLeft => return BuiltinCall(bitcode::STR_TRIM_LEFT),
|
||||
StrTrimRight => return BuiltinCall(bitcode::STR_TRIM_RIGHT),
|
||||
StrFromUtf8Range => return BuiltinCall(bitcode::STR_FROM_UTF8_RANGE),
|
||||
StrToUtf8 => return BuiltinCall(bitcode::STR_TO_UTF8),
|
||||
StrRepeat => return BuiltinCall(bitcode::STR_REPEAT),
|
||||
StrFromFloat => return BuiltinCall(bitcode::STR_FROM_FLOAT),
|
||||
StrTrim => return BuiltinCall(bitcode::STR_TRIM),
|
||||
|
||||
ListLen | ListGetUnsafe | ListSet | ListSingle | ListRepeat | ListReverse | ListConcat
|
||||
StrJoinWith | StrIsEmpty | StrStartsWith | StrStartsWithCodePt | StrEndsWith | StrSplit
|
||||
| StrCountGraphemes | StrFromInt | StrFromUtf8 | StrTrimLeft | StrTrimRight
|
||||
| StrFromUtf8Range | StrToUtf8 | StrRepeat | StrFromFloat | StrTrim | ListLen
|
||||
| ListGetUnsafe | ListSet | ListSingle | ListRepeat | ListReverse | ListConcat
|
||||
| ListContains | ListAppend | ListPrepend | ListJoin | ListRange | ListMap | ListMap2
|
||||
| ListMap3 | ListMap4 | ListMapWithIndex | ListKeepIf | ListWalk | ListWalkUntil
|
||||
| ListWalkBackwards | ListKeepOks | ListKeepErrs | ListSortWith | ListSublist
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue