mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
implement Str.dropPrefix and Str.dropSuffix
This commit is contained in:
parent
d66f581eeb
commit
4be6c5d4ce
3 changed files with 111 additions and 0 deletions
|
@ -1373,6 +1373,8 @@ define_builtins! {
|
|||
46 STR_REPLACE_FIRST: "replaceFirst"
|
||||
47 STR_REPLACE_LAST: "replaceLast"
|
||||
48 STR_RELEASE_EXCESS_CAPACITY: "releaseExcessCapacity"
|
||||
49 STR_DROP_PREFIX: "dropPrefix"
|
||||
50 STR_DROP_SUFFIX: "dropSuffix"
|
||||
}
|
||||
6 LIST: "List" => {
|
||||
0 LIST_LIST: "List" exposed_apply_type=true // the List.List type alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue