Commit graph

134 commits

Author SHA1 Message Date
Eric Henry
3e4eb8d839 Clean up file and repl support for Num.maxI128 2021-03-12 17:48:55 -05:00
Eric Henry
66f07d984e Merge branch 'trunk' of github.com:rtfeldman/roc into builtin-maxI128 2021-03-12 17:40:57 -05:00
Eric Henry
4d046abefa builtin maxI128 initial 2021-03-09 12:47:42 -05:00
rvcas
268ab82410 feat(List): add map3 2021-03-08 21:12:19 -05:00
Folkert
dbb4758cb9 Merge remote-tracking branch 'origin/trunk' into backpassing 2021-03-06 19:01:39 +01:00
Folkert
d8bc44fd47 add Result.after 2021-03-06 01:53:37 +01:00
Folkert
2e73e47673 setup
just some stuff we need in place for the parser to recognice map2 and to give it a (hardcoded) type
2021-03-04 14:42:43 +01:00
Folkert
9116e9e8c9 add Str.toBytes 2021-02-21 19:52:32 +01:00
Folkert
43e71f2ee9 int cast 2021-02-21 16:07:35 +01:00
Folkert
128741e585 add right shift operators 2021-02-21 16:01:01 +01:00
Folkert
93359b88cb Merge remote-tracking branch 'origin/str-fromUtf8' into bytes 2021-02-21 15:31:49 +01:00
Folkert
57b78dde06 Merge remote-tracking branch 'origin/trunk' into str-fromUtf8 2021-02-21 15:25:36 +01:00
Folkert
ea76578e06 add Num.bitwiseOr and Num.shiftLeftBy 2021-02-21 15:15:16 +01:00
Folkert
65ab08728a List.mapWithIndex 2021-02-17 22:29:15 +01:00
Folkert
3fe80b1a1e List.keepOks and List.keepErrs 2021-02-17 21:03:21 +01:00
Folkert
5826da028c add Set.contains 2021-02-16 00:12:57 +01:00
Folkert
13b2c23c01 working AStar 2021-02-15 21:34:55 +01:00
Folkert
35e1e94a94 implement Set.walk 2021-02-15 01:49:25 +01:00
Folkert
57e8d5b4c3 implement Set inclusion functions 2021-02-14 23:57:35 +01:00
Folkert
1256327caa dict walk 2021-02-14 21:16:42 +01:00
Folkert
02db8f1a05 union and intersection 2021-02-14 19:55:01 +01:00
Folkert
b2e626ab0c Dict.insert WIP 2021-02-13 23:32:01 +01:00
Folkert
16143bc06e first steps for Dict.keys and Dict.values 2021-02-13 18:35:36 +01:00
Folkert
afe2f51660 basic versions of contains and remove 2021-02-12 23:47:02 +01:00
Folkert
0ed87828e5 Merge remote-tracking branch 'origin/trunk' into dict 2021-02-10 15:02:53 +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
c3a681d1f0 fix bug in list repeat type 2021-02-07 02:08:17 +01: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
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
520dcfbaca Wiring up dictionary and hash rust code to their zig counterparts 2021-01-18 15:25:37 -05: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
Folkert
4c34312871 fix missing type variable in List.get 2020-12-31 21:26:28 +01: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
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
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
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
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
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