Commit graph

190 commits

Author SHA1 Message Date
Folkert
39c4353554 add difference 2021-02-14 20:01:24 +01:00
Folkert
02db8f1a05 union and intersection 2021-02-14 19:55:01 +01:00
Folkert
b7ae151d6e clippy 2021-02-14 03:18:27 +01:00
Folkert
210bd18fe3 implement decref, fuse RC operations 2021-02-14 03:16:11 +01:00
Folkert
16143bc06e first steps for Dict.keys and Dict.values 2021-02-13 18:35:36 +01:00
Folkert
ac5eb0f6f6 Dict.get 2021-02-13 16:12:45 +01:00
Folkert
afe2f51660 basic versions of contains and remove 2021-02-12 23:47:02 +01:00
Folkert
b6ceaab341 first steps for init 2021-02-09 22:47:38 +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
2d63e24843 make hash work for integers/floats/strings 2021-02-06 21:33:56 +01:00
Chadtech
7a64ffede5 Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-29 21:17:32 -05:00
Folkert
0166a4d915 fix test hanging forever 2021-01-25 13:20:40 +01:00
Folkert
48c8343d53 add Str.joinWith 2021-01-25 00:30:48 +01:00
Chadtech
9d776a2de5 rename Dict.size to Dict.len 2021-01-21 23:16:25 -05:00
Chadtech
a46a7ef06a builtin_defs_map passed in explicitly in many places that want to monomorphize, so that we can use a new test_builtin_defs in tests. Hash test works 2021-01-18 22:38:51 -05:00
Chadtech
fdff20b2c1 Dict.size added to builtins.rs 2021-01-18 21:03:15 -05:00
Sébastien Besnier
fdc2b6ad86 add bitwise xor 2021-01-14 16:12:46 +01:00
Jared Ramirez
48f964adf4 Add percision variable in fp/integer eq constraints 2020-12-28 16:22:34 -06:00
Celso Bonutti Filho
f3bd5368f0 feat: adds Num.mulWrap and Num.mulChecked 2020-12-23 13:42:18 -03:00
Celso Bonutti Filho
fe588c120c adds Num.subChecked 2020-12-22 23:27:16 -03:00
Celso Bonutti Filho
59b850ba50 uses Num.subWrap for List.last 2020-12-22 22:26:53 -03:00
Celso Bonutti Filho
176cdd0274 adds Num.subWrap 2020-12-22 22:17:45 -03:00
Celso Bonutti Filho
bbb7ee7ed1 updates List.last LowLevel ops comments 2020-12-21 19:50:08 -03: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
Folkert
16994cfaf7 shrink number of used variables (by a lot) 2020-12-10 00:13:09 +01:00
Richard Feldman
cb488f5f4c
Fix comment 2020-12-03 22:26:09 -05:00
Folkert
4b0b5126a1 add Str.fromInt 2020-12-04 00:37:19 +01:00
Folkert
22d798b7c7 add Str.endsWith 2020-12-03 19:16:50 +01: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
Chadtech
385d0fda9f Resolving conflicts with remote trunk 2020-11-22 13:54:13 -05:00
rvcas
84c49040b2 feat(List): redudant mapping of Symbol::LIST_SUM 2020-11-15 12:34:58 -05:00
rvcas
1c8bb74268 feat(List): add sum builtin 2020-11-15 11:08:27 -05:00
Chad Stearns
4f54b87817 Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-11 02:14:31 -05:00
Folkert
0b19c594c5 improve compare/Order 2020-11-09 21:21:14 +01:00
Chad Stearns
5e0e3da3b7 Merging in remote trunk 2020-11-08 07:01:07 -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
63308d90e1 Add Str.countGraphemes 2020-11-06 16:54:28 -06:00
lrosa007
9269f1d8a7 feat(List): start contains function 2020-11-04 21:09:15 -05:00
Folkert
89e01c63d1 make Num.maxInt and Num.minInt work 2020-11-02 21:49:44 +01:00
Chad Stearns
c412a8e0db Merge in remote trunk 2020-11-01 11:38:44 -05:00
lrosa007
bd696e1f6f feat(builtins): Num.asin : Float -> Float 2020-11-01 09:54:00 -05:00
lrosa007
4da2d7f101 feat(builtins): Num.acos : Float -> Float 2020-11-01 09:27:42 -05:00
Folkert
8b3b677439 remove aliases from Let and LetCon 2020-10-31 15:27:24 +01:00
Dimitar Apostolov
0ae045c1f3 Add canonical Expr for Str.startsWith 2020-10-22 23:24:29 +02:00
Chad Stearns
af3882c8e3 Merging in remote trunk 2020-10-20 05:06:12 -04:00
Folkert
e656363cc0 restrain the set of captured variables further 2020-10-16 01:42:06 +02:00
Folkert
40ffca2b7b IT WORKS 2020-10-16 00:18:40 +02:00