mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Remove scalars and graphemes from Str
This commit is contained in:
parent
65738acb26
commit
b48fa0698a
26 changed files with 140 additions and 12721 deletions
|
@ -15,7 +15,7 @@ closure1 = \_ ->
|
|||
Task.succeed (foo toUnitBorrowed "a long string such that it's malloced")
|
||||
|> Task.map \_ -> {}
|
||||
|
||||
toUnitBorrowed = \x -> Str.countGraphemes x
|
||||
toUnitBorrowed = \x -> Str.countUtf8Bytes x
|
||||
|
||||
foo = \f, x -> f x
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue