Folkert de Vries
|
29bd4e3e50
|
Merge branch 'trunk' into str_trim
|
2021-10-26 22:45:32 +02:00 |
|
Chelsea Troy
|
7680a1d17a
|
Remove unused code
|
2021-10-25 21:55:45 -05: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
|
438ffdb18e
|
restore changes to builtins readme
|
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
|
6832f952d1
|
undo changes to builtins README
|
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 |
|
Chelsea Troy
|
fd83c3b749
|
Branch the dropLast functionality from dropAt, inserting an index gathered by subtracting 1 from the list length
|
2021-10-23 00:17:08 -05:00 |
|
Chelsea Troy
|
49a832d757
|
Add dropLast to tests and parser
|
2021-10-21 23:02:26 -05:00 |
|
Folkert
|
76e26e47f3
|
more cleanup
|
2021-10-20 17:05:59 +02: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
|
ab34c2a55e
|
generalize all number intrinsics
|
2021-10-20 16:21:57 +02:00 |
|
Folkert
|
9fc832d8ef
|
new intrinsic approach
|
2021-10-20 15:18:02 +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 |
|
Chelsea Troy
|
03295d4369
|
So far, add type for divCeil to the language
|
2021-10-17 09:29:11 -05:00 |
|
Folkert
|
94e8c62613
|
make things compile, base64 has a memory leak
|
2021-10-06 22:57:11 +02:00 |
|
Richard Feldman
|
8391c337ab
|
Merge remote-tracking branch 'origin/trunk' into list-walk-flip
|
2021-10-05 20:50:50 -04:00 |
|
Richard Feldman
|
894e295b85
|
Merge pull request #1764 from rtfeldman/list
Some List docs changes
|
2021-10-04 18:08:32 -05:00 |
|
Richard Feldman
|
cfe7d5afbb
|
Document List.map2 and List.map3
|
2021-10-04 08:42:52 -04:00 |
|
Richard Feldman
|
e6ec1ded22
|
Add mapJoin and mapOrDrop to List
|
2021-10-04 08:26:23 -04:00 |
|
Dan Knutson
|
b83336d3c3
|
remove outdated uniqueness doc
|
2021-10-03 14:39:35 -05: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 |
|