Commit graph

816 commits

Author SHA1 Message Date
Folkert
89821a83af use nicer casting method 2021-02-14 15:05:58 +01:00
Folkert
210bd18fe3 implement decref, fuse RC operations 2021-02-14 03:16:11 +01:00
Folkert
84e4cbc859 hook up compare with dict wrapper 2021-02-13 19:49:22 +01:00
Folkert
e7efcb74e6 Merge remote-tracking branch 'origin/gen-equality' into dict-insert 2021-02-13 19:45:33 +01:00
Folkert
16143bc06e first steps for Dict.keys and Dict.values 2021-02-13 18:35:36 +01:00
Folkert
927ba11e64 implement inc/dec for dicts 2021-02-13 16:56:00 +01:00
Folkert
685ae620a1 Merge remote-tracking branch 'origin/trunk' into dict-insert 2021-02-13 16:41:23 +01:00
Folkert
e9f2d9d608 work on refcount 2021-02-13 16:41:13 +01:00
Folkert
ac5eb0f6f6 Dict.get 2021-02-13 16:12:45 +01:00
Folkert
c04b3846c7 fix typo 2021-02-13 03:04:49 +01:00
Richard Feldman
5b83ec719e
Merge branch 'trunk' into gen-equality 2021-02-12 19:37:09 -05:00
Richard Feldman
baaf621b88
drop commented-out dbg! 2021-02-12 19:22:38 -05:00
Richard Feldman
548c3c3f15
fix typo 2021-02-12 19:21:38 -05:00
Richard Feldman
76a9461cfe
Merge branch 'trunk' into gen-equality 2021-02-12 19:13:01 -05:00
Folkert
cba729a933 use inline always strategically 2021-02-13 01:10:37 +01:00
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