Commit graph

260 commits

Author SHA1 Message Date
tarjei
107822a5cc Add plumbing for List.swap 2021-05-29 21:30:16 +02:00
Richard Feldman
829edd509c Include builtins.bc in the roc binary 2021-05-26 20:45:27 -04:00
Folkert de Vries
5724f82667
Merge branch 'trunk' into zig-list-set 2021-05-25 09:05:18 +02:00
Folkert
d620005cf3 Merge remote-tracking branch 'origin/trunk' into zig-list-set 2021-05-24 18:24:22 +02:00
Folkert
fbb711b2ca Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-24 15:11:40 +02:00
Richard Feldman
a7518a675a Clean up some clippy warnings 2021-05-23 20:28:23 -04:00
Folkert
2e8a246095 Merge remote-tracking branch 'origin/trunk' into zig-list-set 2021-05-23 16:28:20 +02:00
Folkert
25ec057b2b write List.set in zig 2021-05-22 22:13:54 +02:00
tarjei
f45d89270b Implement basic List.drop that satisfies tests
Issues with uniqueness and copying which leaks memory obviously needs to be fixed.
2021-05-18 22:59:55 +02:00
Folkert
27f8465e9c clippy 2021-05-15 23:59:54 +02:00
Folkert
80423bac76 fix copy mistake 2021-05-14 12:56:35 +02:00
Folkert
fd422ab1d2 remove dead code 2021-05-14 12:49:15 +02:00
Folkert
087ee18f09 use macros in preparation for lambda set inference 2021-05-14 12:42:25 +02:00
Folkert
ca78439756 working Set.walk 2021-05-14 12:35:44 +02:00
Folkert
d25b1dc549 fix final list test 2021-05-14 01:02:16 +02:00
Folkert
1ee1a8114b more builtins 2021-05-14 00:41:39 +02:00
Folkert
f39bc34b8f add closure union to some builtins 2021-05-14 00:25:29 +02:00
Folkert
e63eea7389 WIP 2021-05-13 00:26:41 +02:00
Eric Henry
eda462c6e9 implement list.concat in zig 2021-05-08 14:39:06 -04:00
Folkert
c071cfba13 implement startsWithCodePoint 2021-05-02 19:26:08 +02:00
Folkert
586727f74a list single in zig 2021-05-01 16:38:11 +02:00
Folkert
42d065af45 move List.join to zig 2021-04-25 21:43:15 +02:00
Folkert
fa7dec2997 no more boolean algebra 2021-04-04 21:22:59 +02:00
Richard Feldman
62e87dc970
Merge branch 'trunk' into builtin-sortby 2021-04-03 20:30:14 -04:00
Eric Henry
8e36b5797b Merge branch 'trunk' of github.com:rtfeldman/roc into builtin-sortby 2021-04-03 10:03:45 -04:00
rvcas
17b39fa1ce feat(bitcode/list): implement listReverse 2021-04-02 02:00:46 -04:00
Folkert
ff3f231155 remove Mode from stdlib 2021-04-01 21:42:38 +02:00
Folkert
f2c144f58c Merge remote-tracking branch 'origin/can-builtins-simplify' into list-range 2021-03-31 11:34:32 +02:00
Eric Henry
7045737669 sortWith boilerplate done 2021-03-30 11:05:31 -04:00
Folkert
d718e21fd3 add List.range 2021-03-29 23:00:49 +02:00
Folkert
1dd8c25e12 implement walk until 2021-03-29 20:54:38 +02:00
Folkert
1302ee296f refactor list walking 2021-03-29 16:32:43 +02:00
Richard Feldman
51e7720658
Merge branch 'trunk' into add-num-log 2021-03-28 12:43:51 -04:00
Ju Liu
cd59af1f9a Rename error to LogNeedsPositive 2021-03-28 17:09:42 +01:00
Ju Liu
928249df2a Add Num.log and wire it up 2021-03-28 15:02:45 +01:00
Peter Fields
fed470b316 add list-product builtin function 2021-03-27 20:15:16 +00:00
Chadtech
1e9cf7ba89
Merge branch 'trunk' into singleton-to-single 2021-03-14 21:58:08 -04:00
Chadtech
b22672fb0e Changed singleton to single 2021-03-14 21:57:10 -04:00
Eric Henry
1e9bd0d7f1 implement isMultipleOf builtin 2021-03-14 14:52:38 -04:00
Eric Henry
3e4eb8d839 Clean up file and repl support for Num.maxI128 2021-03-12 17:48:55 -05:00
Eric Henry
66f07d984e Merge branch 'trunk' of github.com:rtfeldman/roc into builtin-maxI128 2021-03-12 17:40:57 -05:00
Eric Henry
4d046abefa builtin maxI128 initial 2021-03-09 12:47:42 -05:00
rvcas
268ab82410 feat(List): add map3 2021-03-08 21:12:19 -05:00
Folkert
dbb4758cb9 Merge remote-tracking branch 'origin/trunk' into backpassing 2021-03-06 19:01:39 +01:00
Richard Feldman
1211fa93f7
Merge pull request #1049 from rtfeldman/map2
List.map2
2021-03-05 22:55:12 -05:00
Folkert
d8bc44fd47 add Result.after 2021-03-06 01:53:37 +01:00
Folkert
baef33fc0c llvm bindings
map the lowlevel op into LLVM code; it calls zig code, but the zig code does not do anything yet
2021-03-04 14:54:41 +01:00
Folkert
2e73e47673 setup
just some stuff we need in place for the parser to recognice map2 and to give it a (hardcoded) type
2021-03-04 14:42:43 +01:00
Folkert
9873eb358b write List.append in zig 2021-03-03 15:29:22 +01:00
Folkert
a6edc58323 make fromUtf8 do RC 2021-02-24 21:25:14 +01:00