Commit graph

1208 commits

Author SHA1 Message Date
Eric Henry
d75a01cfa9 Remove comment 2021-03-15 23:31:35 -04:00
Eric Henry
05ff53a6f5 Make the then branch the one that will happen most often 2021-03-15 23:27:43 -04:00
Eric Henry
1e9bd0d7f1 implement isMultipleOf builtin 2021-03-14 14:52:38 -04:00
Eric Henry
66f07d984e Merge branch 'trunk' of github.com:rtfeldman/roc into builtin-maxI128 2021-03-12 17:40:57 -05:00
Folkert
c1d0af5b39 make things compile/run 2021-03-09 20:19:34 +01:00
rvcas
268ab82410 feat(List): add map3 2021-03-08 21:12:19 -05:00
Anton-4
480666e4e3 removed unused dependencies using cargo-udeps #1036 2021-03-06 12:07:09 +01:00
Richard Feldman
1211fa93f7
Merge pull request #1049 from rtfeldman/map2
List.map2
2021-03-05 22:55:12 -05:00
Folkert
baef33fc0c llvm bindings
map the lowlevel op into LLVM code; it calls zig code, but the zig code does not do anything yet
2021-03-04 14:54:41 +01:00
Folkert
ca8c23e448 fix up zig code 2021-03-03 20:05:50 +01:00
Folkert
9873eb358b write List.append in zig 2021-03-03 15:29:22 +01:00
Folkert
3e3fe4fc7a move test files 2021-03-01 14:59:47 +01:00
Folkert
a6edc58323 make fromUtf8 do RC 2021-02-24 21:25:14 +01:00
Folkert
63091392f5 toBytes test 2021-02-21 21:18:15 +01:00
Folkert
1746b8da6f bitwise or test 2021-02-21 21:14:20 +01:00
Folkert
c4972f45ba bit shift tests 2021-02-21 21:12:47 +01:00
Folkert
9116e9e8c9 add Str.toBytes 2021-02-21 19:52:32 +01:00
Folkert
bcbef5d3aa generalize add and sub intrinsics to all integer types 2021-02-21 19:10:09 +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
47b1bf9c71 clippy 2021-02-21 15:27:54 +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
b43b36dd00 clippy 2021-02-19 22:26:35 +01:00
Folkert
a850ccb94a use the WhenRecursive trick in refcounting 2021-02-19 22:13:50 +01:00
Folkert
9473a332db clippy 2021-02-19 19:22:05 +01:00
Folkert
17fddaf0dd refcount details of builtins 2021-02-19 17:13:09 +01:00
Folkert
9faf84be16 correct RC for List.repeat, List.keepIf, List.keepOks 2021-02-19 01:08:33 +01:00
Folkert
d29b8764f0 List.repeat in zig 2021-02-18 23:39:50 +01:00
Folkert
32bba5206a Merge remote-tracking branch 'origin/specialize-owned' into dict-more 2021-02-18 22:42:17 +01:00
Folkert
3a9999f723 provide more debug info if a function symbol is not found 2021-02-18 22:22:42 +01:00
Richard Feldman
fe98229aa3
Merge branch 'trunk' into dict-more 2021-02-17 23:47:13 -05:00
Folkert
6806585b51 stop treating closure unions in a special way 2021-02-18 02:49:04 +01:00
Folkert
76e299fe83 consistently name inc and dec (same layout, same number) 2021-02-18 01:54:39 +01:00
Folkert
5501580fb3 clippy 2021-02-17 23:45:36 +01:00
Folkert
65ab08728a List.mapWithIndex 2021-02-17 22:29:15 +01:00
Folkert
7bd228ca9b List.contains in Zig 2021-02-17 22:04:54 +01:00
Folkert
a3d0dc2fc3 move bitcode support functions around 2021-02-17 21:52:19 +01:00
Folkert
619749c954 use generic function to define the stepper wrapper 2021-02-17 21:16:00 +01:00
Folkert
3fe80b1a1e List.keepOks and List.keepErrs 2021-02-17 21:03:21 +01:00
Folkert
45edb12b22 move equality tests 2021-02-17 20:00:03 +01:00
Folkert
56427c5fac List.walk in zig 2021-02-17 17:37:06 +01:00
Folkert
7aceb8dc70 List.keepIf in zig 2021-02-17 16:45:21 +01:00
Folkert
42c5662872 List.map in zig! 2021-02-17 15:38:55 +01:00
Folkert
821e750876 implement primitives 2021-02-17 14:08:59 +01:00
Folkert
6154ce1254 clippy 2021-02-17 01:22:16 +01:00
Folkert
2a22f6254f Merge remote-tracking branch 'origin/trunk' into specialize-owned 2021-02-16 17:08:35 +01:00
Folkert
1ef0d82c5c apply created closure immediately 2021-02-16 16:26:04 +01:00
Folkert
411a265024 remove bitcast in Str.fromFloat 2021-02-16 00:56:44 +01:00