Commit graph

95 commits

Author SHA1 Message Date
Joshua Hoeflich
1c6ac84f2f Add Num.round to dev backend 2021-08-15 17:50:07 -05:00
Folkert
225c97aae3 move List.prepend to zig 2021-08-14 12:28:05 +02:00
Joshua Hoeflich
c00d400d85 Fixes merge conflict 2021-08-08 21:38:15 -05:00
Joshua Hoeflich
4231b340ee Glue code working 2021-08-08 11:06:10 -05:00
Richard Feldman
2a616103c6 Rename Str.toBytes to Str.toUtf8 2021-08-07 22:46:24 -04:00
Richard Feldman
267836226c s/CodePoint/CodePt/g 2021-08-07 21:46:20 -04:00
Folkert
fda945f765 write thank you message 2021-07-21 15:22:32 +02:00
Folkert
bafb16091d explicitly include muloti4 in LLVM IR 2021-07-21 15:01:18 +02:00
Folkert
23ea151d5f make decimal math ops correctly report overflow 2021-07-18 22:04:32 +02:00
Jared Ramirez
c261766681 Appease clippy 2021-07-09 09:46:40 -07:00
Jared Ramirez
67eef2c97f Merge branch 'trunk' of https://github.com/rtfeldman/roc into add-dec-types 2021-07-08 16:47:42 -07:00
Jared Ramirez
ecb89da7b8 Add basic Dec operations 2021-06-25 10:25:03 -07:00
Jared Ramirez
0827123c88 Adding Decimals work!! 2021-06-24 11:15:52 -07:00
Jared Ramirez
4d6e5a1a4f [WIP] Add Dec/Decimal builtin types 2021-06-23 19:30:16 -07:00
Folkert
27308e98b7 use morphic update mode 2021-06-22 20:53:55 +02:00
tarjei
107822a5cc Add plumbing for List.swap 2021-05-29 21:30:16 +02:00
rvcas
522bf0c9f0 feat: port rust RocDec.mul logic over to zig 2021-05-25 19:08:50 -04:00
Folkert
2e8a246095 Merge remote-tracking branch 'origin/trunk' into zig-list-set 2021-05-23 16:28:20 +02:00
Folkert
25ec057b2b write List.set in zig 2021-05-22 22:13:54 +02:00
tarjei
f45d89270b Implement basic List.drop that satisfies tests
Issues with uniqueness and copying which leaks memory obviously needs to be fixed.
2021-05-18 22:59:55 +02:00
Eric Henry
eda462c6e9 implement list.concat in zig 2021-05-08 14:39:06 -04:00
Folkert
c071cfba13 implement startsWithCodePoint 2021-05-02 19:26:08 +02:00
Folkert
586727f74a list single in zig 2021-05-01 16:38:11 +02:00
Folkert
42d065af45 move List.join to zig 2021-04-25 21:43:15 +02:00
Richard Feldman
62e87dc970
Merge branch 'trunk' into builtin-sortby 2021-04-03 20:30:14 -04:00
Eric Henry
ac001598e8 setup before zig work 2021-04-03 11:28:36 -04:00
rvcas
17b39fa1ce feat(bitcode/list): implement listReverse 2021-04-02 02:00:46 -04:00
Folkert
f2c144f58c Merge remote-tracking branch 'origin/can-builtins-simplify' into list-range 2021-03-31 11:34:32 +02:00
Folkert
d718e21fd3 add List.range 2021-03-29 23:00:49 +02:00
Folkert
1dd8c25e12 implement walk until 2021-03-29 20:54:38 +02:00
rvcas
bebd96674b fix(List): export map3 from main.zig 2021-03-08 21:18:22 -05: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
9873eb358b write List.append in zig 2021-03-03 15:29:22 +01:00
Folkert
a6edc58323 make fromUtf8 do RC 2021-02-24 21:25:14 +01:00
Folkert
9116e9e8c9 add Str.toBytes 2021-02-21 19:52:32 +01:00
Folkert
57b78dde06 Merge remote-tracking branch 'origin/trunk' into str-fromUtf8 2021-02-21 15:25:36 +01:00
Folkert
d29b8764f0 List.repeat in zig 2021-02-18 23:39:50 +01:00
Folkert
65ab08728a List.mapWithIndex 2021-02-17 22:29:15 +01:00
Folkert
a3d0dc2fc3 move bitcode support functions around 2021-02-17 21:52:19 +01:00
Folkert
3fe80b1a1e List.keepOks and List.keepErrs 2021-02-17 21:03:21 +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
49ca8f3e86 add Set.fromList 2021-02-16 00:51:23 +01:00
Folkert
13b2c23c01 working AStar 2021-02-15 21:34:55 +01:00
Folkert
1256327caa dict walk 2021-02-14 21:16:42 +01:00
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
210bd18fe3 implement decref, fuse RC operations 2021-02-14 03:16:11 +01:00