Commit graph

369 commits

Author SHA1 Message Date
Chadtech
520dcfbaca Wiring up dictionary and hash rust code to their zig counterparts 2021-01-18 15:25:37 -05:00
Richard Feldman
82101a34e7
Merge pull request #898 from rtfeldman/decision-tree-improvements
Decision tree improvements
2021-01-14 23:53:02 -05:00
Folkert
b3d0c0194d use const 2021-01-14 16:56:15 +01:00
Sébastien Besnier
fdc2b6ad86 add bitwise xor 2021-01-14 16:12:46 +01:00
rvcas
62b496b221 feat(builtins): use Nat for List functions and counting functions 2021-01-05 01:08:56 -05:00
rvcas
b34436e5cb Merge branch 'trunk' into int_a_float_a 2021-01-04 09:53:45 -05:00
Folkert
2ac19fb6e3 add equality for strings 2021-01-02 18:50:29 +01:00
Folkert
81bfea53e2 fix some uniqueness problems 2020-12-31 21:36:49 +01:00
Folkert
4c34312871 fix missing type variable in List.get 2020-12-31 21:26:28 +01:00
rvcas
127c4e1bcc feat: add inner var to IntLiteral and FloatLiteral 2020-12-29 20:52:54 -05:00
rvcas
d62471c73a fix: gen_list 2020-12-29 14:55:52 -05:00
rvcas
75fdff4398 feat(aliases): add Int a and Float a 2020-12-29 13:35:24 -05:00
Richard Feldman
a656778968 Merge remote-tracking branch 'origin/trunk' into overflow_on_mul 2020-12-23 15:37:55 -05:00
Celso Bonutti Filho
f3bd5368f0 feat: adds Num.mulWrap and Num.mulChecked 2020-12-23 13:42:18 -03:00
Celso Bonutti Filho
d3d3497b46 refactor: use function for overflow Tag in std.rs 2020-12-23 13:40:24 -03:00
rvcas
eda5b72060 Merge branch 'trunk' into new_num_layer 2020-12-23 08:24:19 -05:00
Celso Bonutti Filho
ff23ce7bec fixes Num.subWrap on std.rs 2020-12-22 23:30:41 -03:00
Celso Bonutti Filho
fe588c120c adds Num.subChecked 2020-12-22 23:27:16 -03:00
Celso Bonutti Filho
176cdd0274 adds Num.subWrap 2020-12-22 22:17:45 -03: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
Celso Bonutti Filho
51a302957f adds List.last 2020-12-21 19:44:24 -03:00
Celso Bonutti Filho
0a24f3b4b4 adds Num.bitwiseAnd 2020-12-20 19:55:10 -03:00
Anton-4
b085469602 Replaced large_enum_variant explanation with link to issue #800 2020-12-14 16:09:16 +01:00
Chadtech
6b934c499b Changed Map to Dict in commented out type signatures 2020-12-12 04:26:52 -05: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
Folkert
4b0b5126a1 add Str.fromInt 2020-12-04 00:37:19 +01:00
Folkert
82e87d04e3 rename str.len to str.number_of_bytes 2020-12-03 21:23:07 +01:00
Folkert
22d798b7c7 add Str.endsWith 2020-12-03 19:16:50 +01:00
Folkert
3162ab5fc4 simplify str_len 2020-12-03 16:22:47 +01:00
Folkert
1a71b8bac7 define Str.concat in zig 2020-12-01 21:36:33 +01:00
Richard Feldman
e6fd9cd884
Merge branch 'trunk' into rvcas/list_functions 2020-11-24 20:20:51 -05: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
rvcas
d9e906b8fb feat(List): rename walkRight to walkBackwards 2020-11-23 19:39:30 -05:00
Sébastien Besnier
b36c2bf499 implement startsWith builtin using Zig 2020-11-22 21:48:42 +01:00
Chadtech
b615b0127c Fix Str.startsWith std definition 2020-11-22 14:00:01 -05:00
Chadtech
385d0fda9f Resolving conflicts with remote trunk 2020-11-22 13:54:13 -05:00
rvcas
1c8bb74268 feat(List): add sum builtin 2020-11-15 11:08:27 -05:00
Chad Stearns
5e0e3da3b7 Merging in remote trunk 2020-11-08 07:01:07 -05:00
Chad Stearns
006bc6163b Fix typo from segements to segments 2020-11-07 02:26:41 -05:00
Chad Stearns
d41e940b7f Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-07 02:07:52 -05:00
Jared Ramirez
e112a406a2 Fix countGrapheme wiring; Reorganize zig builtins; Streamline how we export zig function 2020-11-06 16:54:28 -06:00
Jared Ramirez
63308d90e1 Add Str.countGraphemes 2020-11-06 16:54:28 -06:00
Folkert
377e57bed9 fix comment 2020-11-05 13:56:25 +01:00
Folkert
b4852c0f4f fix uniqueness signature 2020-11-05 13:49:09 +01:00