Commit graph

951 commits

Author SHA1 Message Date
Folkert
afe2f51660 basic versions of contains and remove 2021-02-12 23:47:02 +01:00
Folkert
b4ab02f23a actually generate RC dec code for dict values 2021-02-12 21:39:20 +01:00
Folkert
574e472978 hide debug init stuff in a macro 2021-02-12 21:24:49 +01:00
Folkert
d9d31f6cb4 getting and setting of key/value/tag 2021-02-12 21:16:28 +01:00
Folkert
ac78ed9dfc add dict capacity to its stack size 2021-02-12 19:16:55 +01:00
Folkert
ee21f86f8f hooking everything up 2021-02-12 17:18:06 +01:00
Anton-4
30dca9528c
Merge branch 'trunk' into valgrind_ci 2021-02-12 11:55:35 +01:00
Folkert
56542e41ad fix recursion issue in generic_eq 2021-02-11 16:44:44 +01:00
Folkert
369a8fb2ee refactor foreign call codegen 2021-02-11 16:03:34 +01:00
Folkert
993018b3a5 don't clone list with RC=1 2021-02-10 22:37:51 +01:00
Folkert
de5493172b concat does not need to decrement 2021-02-10 22:09:18 +01:00
Folkert
1f0a16ec57 call to foreign function dropped continuation 2021-02-10 22:05:33 +01:00
Folkert
402b97aeb4 clippy 2021-02-10 19:54:21 +01:00
Folkert
b61736fbed hash list and RoseTree 2021-02-10 19:50:18 +01:00
Folkert
129f85b1f5 hash tag & struct 2021-02-10 16:48:04 +01:00
Folkert
9ab9675a43 refactor build_hash 2021-02-10 15:24:06 +01:00
Folkert
c13e72fecb check for pointer equality 2021-02-10 03:49:03 +01:00
Folkert
b70cedf587 complete equality of tags 2021-02-10 03:17:24 +01:00
Folkert
6aaf12c49c initial work on tag equality 2021-02-10 01:02:14 +01:00
Folkert
298dec02fe refactor compare codegen 2021-02-09 23:34:42 +01:00
Folkert
45d8bff072 equality for structs 2021-02-09 23:14:08 +01:00
Folkert
b6ceaab341 first steps for init 2021-02-09 22:47:38 +01:00
Folkert
352008e8a0 use user-provided seed 2021-02-09 22:25:01 +01:00
Jared Ramirez
f3d9c2f2bb Finish first pass of Str.fromUtf8 2021-02-07 20:04:10 -08:00
Jared Ramirez
815f633a58 [WIP] Setup rust side to call Str.fromUtf8 2021-02-07 20:04:10 -08:00
Folkert
31fc62b7f0 cleanup 2021-02-06 21:46:22 +01:00
Folkert
2d63e24843 make hash work for integers/floats/strings 2021-02-06 21:33:56 +01:00
Folkert
1afd64f7e7 fix Dict.empty 2021-02-06 19:26:09 +01:00
Chadtech
a1add5c1b3 Fix argument parity issues for some functions 2021-02-04 01:04:08 -05:00
Chadtech
68e3a10ff0 cargo fmt 2021-02-04 00:47:18 -05:00
Chadtech
69fcbf70ea
Merge branch 'trunk' into dict 2021-01-31 15:46:22 -05:00
Chadtech
7a64ffede5 Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-29 21:17:32 -05:00
Folkert
55eff1dba1 fix oversights 2021-01-28 15:32:22 +01:00
Folkert
936bf459eb initial version of rc optimization 2021-01-28 13:14:54 +01:00
Folkert
21713bbb0a clippy 2021-01-27 00:13:20 +01:00
Folkert
e87d8f6449 optimize branching in debug builds 2021-01-26 23:45:41 +01:00
Folkert
aaa103005a format 2021-01-26 23:44:29 +01:00
Folkert
ec042b5949 remove unneeded argument 2021-01-26 23:12:04 +01:00
Folkert
53e56e275d don't store function arguments in alloca 2021-01-26 22:01:04 +01:00
Chadtech
d787d3ef7b
Merge branch 'trunk' into dict 2021-01-25 20:25:37 -05:00
Folkert
5a62359a5f remove T from join 2021-01-25 17:23:45 +01:00
Folkert
517bde4f4a remove T from concat 2021-01-25 17:22:22 +01:00
Folkert
7e89307292 implement Dict.empty 2021-01-25 16:53:11 +01:00
Folkert
0166a4d915 fix test hanging forever 2021-01-25 13:20:40 +01:00
Richard Feldman
4bd84f4b6f
Merge branch 'trunk' into str-join 2021-01-25 00:54:28 -05:00
Richard Feldman
54f8efaa68
Merge branch 'trunk' into list-empty-record 2021-01-25 00:50:58 -05:00
Folkert
48c8343d53 add Str.joinWith 2021-01-25 00:30:48 +01:00
Chadtech
ec7d8e0dc9 Bringing in Trunk and resolving conflict 2021-01-23 21:23:31 -05:00
Folkert
54fb482b79 Merge remote-tracking branch 'origin/trunk' into list-empty-record 2021-01-23 15:24:05 +01:00
Folkert
513d7cd78f groundwork for RoseTree 2021-01-23 01:39:04 +01:00