Commit graph

584 commits

Author SHA1 Message Date
Folkert
129f85b1f5 hash tag & struct 2021-02-10 16:48:04 +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
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
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
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
Chadtech
9d776a2de5 rename Dict.size to Dict.len 2021-01-21 23:16:25 -05:00
Chadtech
609bb21fad Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-21 22:46:47 -05:00
Folkert
42f63ceac1 update other places 2021-01-22 01:17:57 +01:00
Folkert
15cbadf652 add inc field to Inc instruction 2021-01-22 00:16:20 +01:00
Folkert
df8ab829a6 fix one element struct unpacking
I think this broke when we decided that we want to not drop empty fields from layouts?
2021-01-21 21:40:04 +01:00
Folkert
b167098275 optimize bitcast generation 2021-01-19 16:46:02 +01:00
Folkert
0ac5a16e86 fix bug: incorrect block_of_memory layout 2021-01-18 23:41:42 +01:00
Folkert
cb0c5ef751 make bitcast more descriptive 2021-01-18 22:06:14 +01:00
Chadtech
520dcfbaca Wiring up dictionary and hash rust code to their zig counterparts 2021-01-18 15:25:37 -05:00
Folkert
4f4d555197 fix complex Switch bug 2021-01-18 01:30:57 +01:00
Folkert
0b4af7e499 fix switching on the tag id 2021-01-17 21:12:46 +01:00
Folkert
8cd744342b Merge remote-tracking branch 'origin/trunk' into nullable-tags 2021-01-17 02:37:57 +01:00
Folkert
c1265574b3 drop the tag! 2021-01-17 02:26:04 +01:00
Folkert
897bc41b6b prepare to drop tag 2021-01-17 01:17:26 +01:00
Folkert
c1cf43eda3 simple implementation of NullableUnwrapped 2021-01-17 00:38:30 +01:00
Folkert
c8970bbe45 remove field 2021-01-17 00:38:30 +01:00
Chadtech
c7f6de2afe Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-16 14:55:09 -05:00
Folkert
de666c575f refactor union layout 2021-01-16 16:31:43 +01:00
Folkert
c85fa58648 a working state again 2021-01-16 01:55:38 +01:00
Folkert
c4e2b4f5cc clippy 2021-01-15 21:18:11 +01:00
Folkert
4202503d42 no dereference required for Cons tag_id 2021-01-15 20:51:11 +01:00
Folkert
ef3bda40c6 fix RC 2021-01-15 16:10:48 +01:00
Folkert
345ecd434b working is_empty (without RC) 2021-01-15 15:05:39 +01:00
Richard Feldman
d2876b152c
Merge pull request #899 from rtfeldman/nqueens
Nqueens
2021-01-14 23:51:53 -05:00
Folkert
167858ef06 reach the unreachable 2021-01-15 02:09:36 +01:00