Commit graph

729 commits

Author SHA1 Message Date
Richard Feldman
86c14d5c55
Merge pull request #797 from rtfeldman/better-top-level-thunks
TEA-style applications!
2020-12-13 18:39:30 -05:00
Folkert
173f84400e specialize symbol in record construction 2020-12-13 23:29:31 +01:00
Folkert
f00bd9ba01 fix refcount bug
closures were not incremented, but were decremented. This lead to memory corruption
2020-12-13 19:57:51 +01:00
Chadtech
6d42184970
Merge branch 'trunk' into rename-map-to-dict 2020-12-12 16:28:46 -05:00
Folkert
05a6b30644 fix import of top-level thunks 2020-12-12 17:57:42 +01:00
Chadtech
cd6e6e6e4f
Merge branch 'trunk' into rename-map-to-dict 2020-12-11 23:39:10 -05:00
Chadtech
61728fd1d1 Merge branch 'trunk' of github.com:rtfeldman/roc into rename-map-to-dict 2020-12-11 20:21:40 -05:00
Folkert
f1b4d535c6 add other effect functions 2020-12-11 20:46:46 +01:00
Folkert
539f173472 set correct closure tag_id 2020-12-11 20:25:15 +01:00
Folkert
752a2200fd partial procs that look the same can still be different 2020-12-11 16:39:53 +01:00
Richard Feldman
7b09232911 Improve an error message 2020-12-10 23:59:15 -05:00
Chadtech
224823eb93 EmptyMap renamed to EmptyDict 2020-12-10 21:00:36 -05:00
Folkert
f5c267acf4 fix problem with empty closures still considered closures 2020-12-10 23:58:53 +01:00
Folkert
84421ad06d fix bug in closure argument unpacking 2020-12-10 20:45:59 +01:00
Folkert
a9b3c74f2e don't drop empty records from layouts 2020-12-10 15:04:42 +01:00
Folkert
d81544b061 update new test cases 2020-12-10 01:21:17 +01:00
Chadtech
2a068941b2 Resolve conflicts 2020-12-08 16:56:52 -05:00
Chadtech
b24933324a Changed Map to Dict in many tests 2020-12-08 16:55:33 -05:00
Folkert
fc85761783 fix issue with one-element records containing a union in the closure argument 2020-12-08 16:05:51 +01:00
Chadtech
4dbd4fa893 More instances of Map renamed to Dict 2020-12-08 01:40:08 -05:00
rvcas
4987721154 feat(Num): rename Num.Int to Num.I64 2020-12-07 19:17:20 -05:00
Richard Feldman
31fd70d0b1
Merge branch 'trunk' into str-from-int 2020-12-03 22:26:23 -05:00
Richard Feldman
567e0e6a8f
Merge pull request #765 from rtfeldman/list-refcount-issues
Fix some list refcount issues
2020-12-03 22:23:21 -05:00
Folkert
4b0b5126a1 add Str.fromInt 2020-12-04 00:37:19 +01:00
Folkert
22d798b7c7 add Str.endsWith 2020-12-03 19:16:50 +01:00
Folkert
0a8415b48e fix closure not decremented 2020-12-02 22:51:16 +01:00
Richard Feldman
e1575beaa3
Merge pull request #738 from rtfeldman/fix-alignment
Fix alignment
2020-11-25 22:54:18 -05:00
Folkert
fb70ce7c71 clippy 2020-11-25 20:35:24 +01:00
Folkert
7f83d9d3a0 fix mono tests, again 2020-11-25 20:06:53 +01:00
Richard Feldman
e6fd9cd884
Merge branch 'trunk' into rvcas/list_functions 2020-11-24 20:20:51 -05:00
Folkert
d821a17413 fix recursive tag unions too 2020-11-24 23:47:57 +01:00
Folkert
0f1baef160 alignment in multi tag pattern match 2020-11-24 23:15:32 +01:00
Folkert
69734e837e alignment in pattern match on single element tag union 2020-11-24 22:36:09 +01:00
Folkert
ccd2e0ecf4 alignment in single element tag unions 2020-11-24 22:01:57 +01:00
Folkert
1e4f0e8b07 correct alignment in records! 2020-11-24 21:28:53 +01:00
Folkert
517f8f4a4a simplify handling of optional fields 2020-11-24 20:57:10 +01:00
rvcas
f7bd803509 feat(Num): rename Float to F64 2020-11-24 10:25:21 -05:00
rvcas
8feab843ea feat(List): add walk function and fix walkBackwards 2020-11-24 09:01:03 -05:00
Folkert
9c7514c449 refactor record layout generation 2020-11-23 23:44:12 +01:00
Chadtech
385d0fda9f Resolving conflicts with remote trunk 2020-11-22 13:54:13 -05:00
Folkert
4db48d9f13 more clippy things 2020-11-19 22:20:00 +01:00
Folkert
75930caddb fix offset calculation 2020-11-17 20:01:38 +01:00
Folkert
c11d97f3e7 Merge remote-tracking branch 'origin/trunk' into recursive-tag-segfault 2020-11-17 02:52:13 +01:00
Folkert
2082d6e57f add alignment_bytes 2020-11-17 02:33:17 +01:00
Folkert
bc74af1bd4 add assert that should pass, but doesn't always 2020-11-17 02:26:53 +01:00
Folkert
93b6315f46 fix pattern match test ordering problem 2020-11-16 02:18:18 +01:00
Richard Feldman
0ad3ffe35a
Merge branch 'trunk' into rvcas/list_sum 2020-11-15 12:13:46 -05:00
Richard Feldman
346248a7c0
Merge pull request #692 from rtfeldman/refactor-layout
Extract LayoutIds from roc_gen to roc_mono::layout
2020-11-15 12:04:43 -05:00
rvcas
1c8bb74268 feat(List): add sum builtin 2020-11-15 11:08:27 -05:00
Brendan Hansknecht
2204ee82d5 Extract LayoutIds from roc_gen to roc_mono::layout 2020-11-14 17:48:04 -08:00