Commit Graph

161 Commits

Author SHA1 Message Date
Folkert
c071cfba13 implement startsWithCodePoint 2021-05-02 19:26:08 +02:00
Folkert
903583f1d4 implement basic type error reporting 2021-04-23 09:41:49 +02:00
Richard Feldman
0a50b0b488 Change license to UPL-1.0
Closes https://github.com/rtfeldman/roc/issues/1199
2021-04-21 19:18:44 -04:00
Folkert
bffb9ab6fe initial solver for the editor's type constraints 2021-04-12 21:26:20 +02:00
Richard Feldman
792a18816a Update authors in Cargo.toml 2021-04-11 08:11:52 -04:00
Folkert
62da85cc06 remove ATTR_ATTR usage 2021-04-04 23:18:50 +02:00
Folkert
fa7dec2997 no more boolean algebra 2021-04-04 21:22:59 +02:00
Richard Feldman
eadb28b95d Replace a bunch of Into impls with Froms 2021-03-26 08:39:01 -04:00
Folkert
41e61ba38a Subs efficiency 2021-03-22 02:04:59 +01:00
Eric Henry
4d046abefa builtin maxI128 initial 2021-03-09 12:47:42 -05:00
Anton-4
480666e4e3 removed unused dependencies using cargo-udeps #1036 2021-03-06 12:07:09 +01:00
Folkert
86ebad4d95 don't send RecursionVar as FlexVar; use the structure var instead 2021-03-03 21:33:16 +01:00
Folkert
8c2c6b0d5c Merge remote-tracking branch 'origin/trunk' into str-fromUtf8 2021-02-21 15:25:47 +01:00
Folkert
57b78dde06 Merge remote-tracking branch 'origin/trunk' into str-fromUtf8 2021-02-21 15:25:36 +01:00
Anton-4
b098d13407 new rustfmt and clippy 2021-02-20 20:00:37 +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
f3e327cfee fix todo 2021-01-20 16:28:46 +01:00
rvcas
b34436e5cb Merge branch 'trunk' into int_a_float_a 2021-01-04 09:53:45 -05:00
Folkert
754521c4c3 all the clippy fixes 2021-01-01 00:40:41 +01:00
Folkert
728298d15a automatic clippy fixes 2021-01-01 00:05:45 +01:00
rvcas
58b9908c2f feat(aliases): add Nat, Natural, and @Natural 2020-12-29 14:55:20 -05:00
rvcas
75fdff4398 feat(aliases): add Int a and Float a 2020-12-29 13:35:24 -05:00
Folkert
caaf8e76c1 reintroduce multiple uniqueness vars in numbers 2020-12-22 20:13:54 +01:00
rvcas
b734b3de58 fix: should not check args.is_empty() 2020-12-22 09:05:58 -05:00
rvcas
d08757f161 fix: uniqueness for Num types 2020-12-22 09:05:19 -05:00
rvcas
aa4b376134 add new layer to the Num types 2020-12-22 09:05:19 -05:00
Anton-4
b085469602 Replaced large_enum_variant explanation with link to issue #800 2020-12-14 16:09:16 +01:00
Richard Feldman
c789885499 Merge remote-tracking branch 'origin/trunk' into add-builtin-num-aliases 2020-12-13 18:49:00 -05:00
Jared Ramirez
0695dcac14 Add Integer/Float num aliases 2020-12-11 17:09:30 -08: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
Chadtech
c376b5d0cc
Merge branch 'trunk' into rename-map-to-dict 2020-12-08 01:33:37 -05:00
rvcas
4987721154 feat(Num): rename Num.Int to Num.I64 2020-12-07 19:17:20 -05:00
Chadtech
197d3c3c81 Changed 'Map' to 'Dict' in many places 2020-12-05 23:26:00 -05:00
rvcas
f7bd803509 feat(Num): rename Float to F64 2020-11-24 10:25:21 -05:00
Folkert
cf80e2852f add test for transitive alias import 2020-11-11 01:20:30 +01:00
Folkert
dfd316c062 comment memory-leaking test 2020-11-07 00:48:43 +01:00
Folkert
cb1dff1baf cleanup 2020-11-07 00:09:45 +01:00
Folkert
7a8e9fe343 special hash and dedup for SolvedType 2020-11-06 23:12:47 +01:00
Folkert
eae797a47a introduce ForeignSymbol wrapper 2020-11-05 23:43:32 +01:00
Folkert
3cd132dd51 introduce foreign call 2020-11-05 23:35:56 +01:00
Folkert
2acbfa91f1 remove def_symbol field 2020-11-04 14:59:41 +01:00
Folkert
c09b66a9cc add HostExposedAlias 2020-11-04 13:19:57 +01:00
Folkert
40bf9be1e2 fix bugs exposed by reporting tests 2020-10-30 22:15:28 +01:00
Folkert
c6633ece7c cleanup unused code 2020-10-30 00:38:00 +01:00
Folkert
33ac8f6892 refactor some things 2020-10-29 22:31:47 +01:00
Folkert
2478ae05b1 expand aliases from the very beginning 2020-10-29 22:30:54 +01:00
Folkert
ef1cee6c41 HUGE WIP 2020-10-28 01:13:04 +01:00