Kevin Sjöberg
|
d6e98c08ec
|
Increment the counter if data is owned
|
2021-11-07 20:50:29 +01:00 |
|
Kevin Sjöberg
|
87894578cf
|
Remove alignment parameter
|
2021-11-07 20:48:09 +01:00 |
|
Kevin Sjöberg
|
44938a9e35
|
Implement List.any
|
2021-11-07 20:44:10 +01:00 |
|
Kevin Sjöberg
|
f6d055dc62
|
Correct minor spelling mistakes
|
2021-11-06 15:29:08 +01:00 |
|
Kevin Sjöberg
|
f9ed060e49
|
Implement List.map4
|
2021-10-31 21:08:41 +01:00 |
|
Dan Gieschen Knutson
|
02117ba512
|
Merge branch 'trunk' into str_trim
|
2021-10-27 18:01:29 -05:00 |
|
Dan Knutson
|
bf29639d87
|
deinit a string that has been trimmed to nothing
|
2021-10-27 17:58:30 -05:00 |
|
Locria Cyber
|
791c46fe0d
|
Remove deprecated zig features
|
2021-10-26 20:21:55 -04:00 |
|
Dan Knutson
|
12d35ba9f1
|
work around all test strings being static
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
bf1b597369
|
use nullable index for reverse iterator
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
6f49f355dd
|
clean up conditionals, use RocStr.init
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
1de0e5d99b
|
make test fail for missed small string conversion
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
e1b9699272
|
remove TODO tags
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
ab060a95b8
|
add TODO for incorrect unique Roc tests
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
ca48d17dbc
|
add Roc-level shared case tests
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
188de22d8d
|
explain back iterator
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
e21fa3cb0a
|
add zig test cases
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
6f7a26895a
|
handle small strings correctly
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
13fd72f3d8
|
thrashing
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
46365da73a
|
add failing tests
* SIGSEGV for non-empty strings
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
e7523ad41d
|
add Roc wiring
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
c8287032b6
|
use reverse utf8 iterator for trailing whitespace
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
8bf252a56e
|
use mutation for the unique case
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
024a902579
|
add a slow zig impl
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
fdac5e2bd8
|
add isWhitespace helper
|
2021-10-25 20:22:37 -05:00 |
|
Folkert
|
7735ca21ea
|
cleanup
|
2021-10-20 17:03:55 +02:00 |
|
Folkert
|
a072d8d1b1
|
fix things
|
2021-10-20 16:56:04 +02:00 |
|
Folkert
|
63b1aaad4e
|
hook up polymorphic zig builtins
|
2021-10-20 16:43:39 +02:00 |
|
Folkert
|
bd98ac6dc7
|
Merge remote-tracking branch 'origin/trunk' into divTruncate
|
2021-10-19 23:36:03 +02:00 |
|
Folkert
|
78c49d3095
|
support intrinsics/builtins for more integer types
|
2021-10-19 21:41:38 +02:00 |
|
Folkert
|
6cc8f8624c
|
a way forward
|
2021-10-18 11:09:38 +02:00 |
|
Folkert
|
4152519bfb
|
formatting & catch zig overflow error
|
2021-10-17 18:03:40 +02:00 |
|
Chelsea Troy
|
0cc6e44d35
|
Thread through the divCeil implementation from Zig:
+ OPEN QUESTION: Evidently the Zig implementation can throw an overflow error. Do we want to do something in Roc to fix this?
|
2021-10-17 10:46:16 -05:00 |
|
Folkert
|
94e8c62613
|
make things compile, base64 has a memory leak
|
2021-10-06 22:57:11 +02:00 |
|
Dan Knutson
|
25215cb3e3
|
cleanup mutable case, split test
|
2021-10-03 14:09:07 -05:00 |
|
Dan Knutson
|
2a72439117
|
WIP adding unique mutable case
|
2021-10-03 13:55:11 -05:00 |
|
Dan Knutson
|
65821d6a9f
|
remove giesch/todo tags, add List.drop doc
|
2021-10-03 13:55:11 -05:00 |
|
Dan Knutson
|
700ab20a8c
|
add tests for List.dropAt
|
2021-10-03 13:55:11 -05:00 |
|
Dan Knutson
|
3baff93a97
|
add first version of List.dropAt
* adds an implementation with no uniqueness/mutability
|
2021-10-03 13:55:11 -05:00 |
|
Folkert
|
f8ac85195b
|
fix zig test
|
2021-10-03 14:18:48 +02:00 |
|
Folkert
|
0690633116
|
spec for List.reverse
|
2021-10-03 13:34:09 +02:00 |
|
Folkert
|
13d480d5f3
|
spec for list append
|
2021-10-03 13:27:47 +02:00 |
|
Folkert
|
486f1d540f
|
add specifications for fromUtf8 and toUtf8
|
2021-10-03 13:22:03 +02:00 |
|
Folkert
|
018348bd83
|
make Str.fromUtf8 in-place
|
2021-10-03 12:13:17 +02:00 |
|
Folkert
|
dbb8acbe67
|
add in-place List.swap
|
2021-10-03 00:25:35 +02:00 |
|
Kofi Gumbs
|
b2343cb0ad
|
Format zig
|
2021-09-29 21:54:14 -04:00 |
|
Kofi Gumbs
|
b32a42f05a
|
Add Str.repeat builtin
|
2021-09-29 17:32:42 -04:00 |
|
Brendan Hansknecht
|
c334e4d3e5
|
Export zig builtin version of __muloti4 as weak so it doesn't conflict if it already exists
|
2021-09-24 08:54:41 -07:00 |
|
Folkert
|
c0cfd6ac16
|
make conversion a cast again
|
2021-09-12 14:28:44 +02:00 |
|
Richard Feldman
|
0dd1395331
|
Merge pull request #1686 from rtfeldman/refcounting-cleanup
Refcounting cleanup
|
2021-09-11 13:33:36 -04:00 |
|