Commit graph

1782 commits

Author SHA1 Message Date
Folkert
1f55355ee0 constrain the default 2020-07-22 19:33:36 -04:00
Folkert
d779e68773 parse default optional expressions in pattern matches 2020-07-22 19:33:36 -04:00
Richard Feldman
6d40de7430 Revise List docs some more 2020-07-22 19:33:36 -04:00
Richard Feldman
743768d82a Change the type of List.mapOrCancel 2020-07-22 19:33:36 -04:00
Richard Feldman
12fb1ed7e9 Update List docs some more 2020-07-22 19:33:36 -04:00
Richard Feldman
190b9790ca Add initial List.roc 2020-07-22 19:33:36 -04:00
Richard Feldman
e8a50a0e4c Update some Num docs 2020-07-22 19:33:36 -04:00
Richard Feldman
ece8480195 Drop obsolete Arr.roc 2020-07-22 19:33:36 -04:00
Richard Feldman
bcb67b0dea Appease clippy 2020-07-22 19:33:36 -04:00
Richard Feldman
fddc7f31db Fix an annotation formatting regression 2020-07-22 19:33:36 -04:00
Richard Feldman
62290b5cc2 Reporting for optional fields 2020-07-22 19:33:36 -04:00
Richard Feldman
2f50c0494b Monomorphize optional fields 2020-07-22 19:33:36 -04:00
Richard Feldman
28a2f9656e Constrain optional fields 2020-07-22 19:33:36 -04:00
Richard Feldman
872f4b3541 Add some solving tests for optional fields 2020-07-22 19:33:36 -04:00
Richard Feldman
fdceedda00 Fix unifying optional fields 2020-07-22 19:33:36 -04:00
Richard Feldman
49e66491ad Fix a parse test 2020-07-22 19:33:36 -04:00
Richard Feldman
4e2cd3fefc Solve optional fields 2020-07-22 19:33:36 -04:00
Richard Feldman
a11b7ab4f5 Constrain uniquness for optional fields 2020-07-22 19:33:36 -04:00
Richard Feldman
71ef37923a Constrain optional record fields 2020-07-22 19:33:36 -04:00
Richard Feldman
b6f8143d4c Canonicalize optional record fields 2020-07-22 19:33:36 -04:00
Richard Feldman
1229b0ea5f Unify optional fields 2020-07-22 19:33:36 -04:00
Richard Feldman
43bca05cdb Change guard to DestructType 2020-07-22 19:33:36 -04:00
Richard Feldman
c9883be8a2 Introduce optional record fields 2020-07-22 19:33:36 -04:00
Folkert
a82cc7f28f fix weird region in error messages 2020-07-21 16:20:03 +02:00
Folkert
b45b39af5e optional fields improvements 2020-07-21 15:25:21 +02:00
Richard Feldman
799e137f55 Restore CLI 2020-07-21 02:00:50 -04:00
Richard Feldman
5b44d8d0bb
Merge branch 'trunk' into list-docs 2020-07-20 23:16:28 -04:00
Richard Feldman
16b801a3f2 Revise List docs some more 2020-07-20 22:26:18 -04:00
Richard Feldman
71f929aba2 Count default exprs as having used things 2020-07-20 21:58:05 -04:00
Richard Feldman
81a1111cae Reproduce unused optional fields bug 2020-07-20 21:44:42 -04:00
Folkert
e93c04a8ce improved error messages for function definitions 2020-07-20 21:38:21 +02:00
Folkert
1d2251b064 add reporting error message tests 2020-07-20 16:05:53 +02:00
Folkert
eed8ff38e6 add usage test 2020-07-20 14:06:31 +02:00
Folkert
8eb287dfab remove some dead code 2020-07-20 14:02:36 +02:00
Folkert
c9b84f92e6 add optional defaults to usage analysis 2020-07-20 14:02:10 +02:00
Folkert
ae966c8933 constraint default unique 2020-07-20 13:44:45 +02:00
Folkert
36574e6ff7 constrain the default 2020-07-20 13:28:20 +02:00
Folkert
29c3eebace parse default optional expressions in pattern matches 2020-07-20 00:52:16 +02:00
Richard Feldman
1ecb795b96 Revert "Fix list length calculation"
This reverts commit 3e61b6d165.
2020-07-18 23:41:15 -04:00
Richard Feldman
3e61b6d165 Fix list length calculation 2020-07-18 23:02:41 -04:00
Richard Feldman
04123c973a Appease clippy 2020-07-18 22:25:29 -04:00
Richard Feldman
3eea2c934e Fix an annotation formatting regression 2020-07-18 22:17:41 -04:00
Chad Stearns
6160a2b2f1 Moved first list empty case closer to where it is used 2020-07-18 22:14:09 -04:00
Richard Feldman
8644433158 Reporting for optional fields 2020-07-18 22:13:20 -04:00
Richard Feldman
588410395e Monomorphize optional fields 2020-07-18 22:13:09 -04:00
Chad Stearns
cb92b477ea Reverted fancy closure organization in List.append 2020-07-18 21:50:03 -04:00
Chadtech
36a259b56b
Merge branch 'trunk' into list-append 2020-07-18 21:30:51 -04:00
Chad Stearns
5b80bc0ae3 Use correct error messages for unreachable layouts 2020-07-18 21:30:24 -04:00
Chad Stearns
bc1c676be4 Fix english errors in documentation 2020-07-18 21:30:07 -04:00
Chad Stearns
04198c8895 Revert use of closure for if_first_list_is_empty due to memory problem 2020-07-18 21:24:19 -04:00