Commit graph

349 commits

Author SHA1 Message Date
Folkert
a79a9ea253 use the compiler's str.zig from platforms 2021-01-31 23:11:02 +01:00
Folkert
dbb1484a91 fix isize/usize mixup 2021-01-26 01:12:46 +01:00
Folkert
712be89c9d fix zig tests 2021-01-25 20:12:37 +01:00
Folkert
205f55be2e cleanup 2021-01-25 17:24:22 +01:00
Folkert
5a62359a5f remove T from join 2021-01-25 17:23:45 +01:00
Folkert
517bde4f4a remove T from concat 2021-01-25 17:22:22 +01:00
Folkert
257985496b use usize to determine size of roc str 2021-01-25 17:13:52 +01:00
Folkert
48c8343d53 add Str.joinWith 2021-01-25 00:30:48 +01:00
Folkert
73de5b8132 joinWith zig implementation and general string improvements 2021-01-25 00:17:41 +01:00
Folkert
18d04614d4 clean up zig str concat 2021-01-21 20:20:20 +01: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
Richard Feldman
b018a15075 Revise some builtin docs 2020-12-31 23:41:57 -05:00
Richard Feldman
d388ef39e4 s/Len/Nat in builtin docs 2020-12-31 16:03:07 -05: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
db477e750c Merge branch 'rename-map-to-dict' of github.com:rtfeldman/roc into rename-map-to-dict 2020-12-11 23:49:06 -05:00
Chadtech
ce69487519 Rename Dict in test_load tests to RedBlackTree 2020-12-11 23:48:40 -05: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
20c041dc60 improvements to str.zig 2020-12-12 01:46:33 +01:00
Richard Feldman
7391ec98f7 Make builtin build.rs script more resilient
Before this change, re-running it from the root of the project
failed for me.
2020-12-09 22:42:40 -05:00
Jared Ramirez
170b5eb707 Small rename 2020-12-08 17:08:33 -08:00
Jared Ramirez
784f299b43 Various small zig str changes 2020-12-08 17:05:26 -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
Chadtech
6d977fef58
Merge branch 'trunk' into rename-map-to-dict 2020-12-07 20:33:12 -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