Folkert
|
87b9f866d3
|
WIP fixing the borrowing in HOFs
|
2021-05-19 15:28:20 +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 |
|
Folkert
|
2b72f9e733
|
add HigherOrderLowLevel
|
2021-05-16 22:49:57 +02:00 |
|
Folkert
|
7520dfee06
|
Revert "formatting"
This reverts commit 3540a048d8 .
|
2021-05-16 21:52:20 +02:00 |
|
Folkert
|
3540a048d8
|
formatting
|
2021-05-16 20:25:18 +02:00 |
|
Folkert
|
3ca6ffade9
|
make List.map borrow based on passed function
|
2021-05-16 14:09:39 +02:00 |
|
Folkert
|
16fe609464
|
remove Expr::FunctionPointer
|
2021-05-15 21:29:10 +02:00 |
|
Folkert
|
357f93a2ee
|
store the layout of a function passed to a lowlevel
|
2021-05-15 20:54:26 +02:00 |
|
Folkert
|
5440632dc5
|
use consts for owned/borrowed
|
2021-05-14 22:56:42 +02:00 |
|
Folkert
|
acfaf96734
|
lots of progress, many bugs
|
2021-05-13 23:45:39 +02:00 |
|
Folkert
|
2163e01288
|
lowlevel List.map works
|
2021-05-13 19:15:17 +02:00 |
|
Folkert
|
e63eea7389
|
WIP
|
2021-05-13 00:26:41 +02:00 |
|
Folkert de Vries
|
31c0c86ccd
|
Merge branch 'trunk' into morphic-lib
|
2021-05-09 13:55:18 +02:00 |
|
Folkert
|
8799973ffe
|
add update mode variables
|
2021-05-09 01:03:29 +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
|
b79230c069
|
refactor reallocate
|
2021-05-01 23:16:34 +02:00 |
|
Folkert
|
6633f8ca9f
|
add ExpectTrue lowlevel
|
2021-04-23 10:16:30 +02:00 |
|
Eric Henry
|
8e36b5797b
|
Merge branch 'trunk' of github.com:rtfeldman/roc into builtin-sortby
|
2021-04-03 10:03:45 -04:00 |
|
Folkert
|
f2c144f58c
|
Merge remote-tracking branch 'origin/can-builtins-simplify' into list-range
|
2021-03-31 11:34:32 +02:00 |
|
Folkert
|
5d8d2bb030
|
Merge remote-tracking branch 'origin/trunk' into can-builtins-simplify
|
2021-03-31 11:29:33 +02:00 |
|
Folkert
|
e3293f1ba9
|
remove list sum and product lowlevel ops
|
2021-03-30 22:55:27 +02:00 |
|
Eric Henry
|
7045737669
|
sortWith boilerplate done
|
2021-03-30 11:05:31 -04:00 |
|
Folkert
|
d718e21fd3
|
add List.range
|
2021-03-29 23:00:49 +02:00 |
|
Folkert
|
1302ee296f
|
refactor list walking
|
2021-03-29 16:32:43 +02:00 |
|
Richard Feldman
|
51e7720658
|
Merge branch 'trunk' into add-num-log
|
2021-03-28 12:43:51 -04:00 |
|
Ju Liu
|
928249df2a
|
Add Num.log and wire it up
|
2021-03-28 15:02:45 +01:00 |
|
Peter Fields
|
fed470b316
|
add list-product builtin function
|
2021-03-27 20:15:16 +00:00 |
|
Folkert
|
55cb780249
|
don't clone Layout
|
2021-03-22 14:08:48 +01:00 |
|
Eric Henry
|
1e9bd0d7f1
|
implement isMultipleOf builtin
|
2021-03-14 14:52:38 -04:00 |
|
rvcas
|
268ab82410
|
feat(List): add map3
|
2021-03-08 21:12:19 -05:00 |
|
Richard Feldman
|
1211fa93f7
|
Merge pull request #1049 from rtfeldman/map2
List.map2
|
2021-03-05 22:55:12 -05: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
|
b7ed6929ba
|
append must now own its first argument too
|
2021-03-03 20:08:50 +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
|
9473a332db
|
clippy
|
2021-02-19 19:22:05 +01:00 |
|
Folkert
|
b24882eb95
|
adjust borrow signatures of builtins
|
2021-02-19 17:10:30 +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
|
0cdea4e36a
|
remove passed_by_pointer infrastructure
|
2021-02-18 19:48:36 +01:00 |
|
Folkert
|
0d64d5ac1b
|
wrap by-pointer functions so they own all arguments
|
2021-02-18 19:11:02 +01:00 |
|
Folkert
|
0b6975fa77
|
de-alias same symbol with different layouts in borrow inference
|
2021-02-18 15:53:37 +01:00 |
|
Richard Feldman
|
fe98229aa3
|
Merge branch 'trunk' into dict-more
|
2021-02-17 23:47:13 -05: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 |
|