Folkert
b716636db0
insert inc and dec instructions
2020-07-26 16:36:35 +02:00
Richard Feldman
a4b0bdc679
Fix parsing bug in accessor functions
...
(They weren't advancing the state by 1, because the state
advancement was relying on part_buf - which was empty
in the case of accessor functions due to having only parsed
the dot so far.)
2020-07-23 21:37:03 -04:00
Richard Feldman
db3dbe3551
Reproduce parse bug
2020-07-23 21:36:49 -04:00
Richard Feldman
ce9e95f985
Merge branch 'trunk' into update-builtins-readme
2020-07-22 22:08:48 -04:00
Chadtech
3e48ddfb59
Merge branch 'trunk' into update-builtins-readme
2020-07-22 20:44:55 -04:00
Chad Stearns
1757b5c89a
Improve some language, delete an old section, and correct some of builtins/readme
2020-07-22 20:37:21 -04:00
Richard Feldman
e439fe4936
Merge branch 'trunk' into optional-fields-touchups
2020-07-22 20:30:31 -04:00
Chad Stearns
fe48ff323b
Updated builtins readme to include information about LowLevel
2020-07-22 20:02:57 -04:00
Richard Feldman
c90f2fd328
Improve error message in test_load
2020-07-22 19:54:11 -04:00
Richard Feldman
2af9854b24
Fix List.append off-by-one bug
2020-07-22 19:38:33 -04:00
Richard Feldman
2ef37adc74
Add some more List.append tests
2020-07-22 19:38:15 -04:00
Richard Feldman
40f4cd9835
cargo fmt
2020-07-22 19:37:58 -04:00
Richard Feldman
dd6973d75e
Use builtin defs in modules
2020-07-22 19:34:34 -04:00
Richard Feldman
2465c204e3
Restore CLI
2020-07-22 19:33:36 -04:00
Richard Feldman
a58ef99518
Count default exprs as having used things
2020-07-22 19:33:36 -04:00
Richard Feldman
edd1a42bec
Reproduce unused optional fields bug
2020-07-22 19:33:36 -04:00
Folkert
02675d613b
improved error messages for function definitions
2020-07-22 19:33:36 -04:00
Folkert
d01f74330e
add reporting error message tests
2020-07-22 19:33:36 -04:00
Folkert
fa893d58eb
add usage test
2020-07-22 19:33:36 -04:00
Folkert
3fdcdf0da9
remove some dead code
2020-07-22 19:33:36 -04:00
Folkert
ee42df0e7d
add optional defaults to usage analysis
2020-07-22 19:33:36 -04:00
Folkert
7bf545a757
constraint default unique
2020-07-22 19:33:36 -04:00
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