Commit graph

91 commits

Author SHA1 Message Date
Richard Feldman
739565e836
Revert "Remove obsolete ListLenUsize"
This reverts commit ad1bca4ac9c40d336522f944df60d61a814435dd.
2024-02-17 13:20:34 -05:00
Richard Feldman
87d4760356
Remove obsolete ListLenUsize 2024-02-17 13:20:34 -05:00
Richard Feldman
37b154df4f
Remove Str.fromUtf8Range
Seamless slices make this obsolete!
2024-02-17 13:20:33 -05:00
Richard Feldman
ada83561e5
Split ListLen into ListLenU64 and ListLenUsize
The usize one gets used internally for things like
pattern matches. This is both more efficient (means
they don't have to do unnecessary casts) and also
less error-prone due to e.g. comparing length to
capacity, which is usize.
2024-02-14 21:00:49 -05:00
Richard Feldman
24a38c4a26
Merge remote-tracking branch 'origin/main' into remove-nat 2024-02-11 12:26:36 -05:00
Richard Feldman
f79ff6d496
Remove unused lowlevel StrGetCapacity 2024-02-01 21:37:16 -05:00
Richard Feldman
9518d76cd8
Remove Num.bytesTo___ functions
These may be reintroduced in some form later,
but they don't handle endianness and it's not
clear builtins are the right place for them.
2024-01-26 16:23:19 -05:00
Richard Feldman
2970fc4384
Merge remote-tracking branch 'origin/main' into str-unicode 2024-01-21 12:30:16 -05:00
Folkert
f1ffc36efe
add List.clone 2024-01-20 20:29:07 +01:00
Richard Feldman
b48fa0698a
Remove scalars and graphemes from Str 2024-01-17 21:30:34 -05:00
Anton-4
cd632fe549
Merge branch 'main' of github.com:roc-lang/roc into clippy-1.74 2023-12-25 17:05:37 +01:00
Brendan Hansknecht
087ca115c9
create seamless slices when getting a substring 2023-12-05 22:46:43 -08:00
Brendan Hansknecht
3966d63e2f
add src and location to dbg 2023-12-02 21:18:31 -08:00
Ayaz
aaba3f4d82
Merge branch 'main' into clippy-1.74 2023-12-02 20:09:06 -06:00
Folkert
c019ced31d
various 2023-11-18 23:05:55 +01:00
HajagosNorbert
9c21ac1388
rename to GetElementPointer, index -> indices 2023-11-13 15:48:05 +01:00
Brendan Hansknecht
108d9a54e3
Switch Num.tan to a zig builtin
It should be able to share some work between sine and cosine to run faster.
2023-09-16 21:27:51 -07:00
Folkert
44d03eebfa
switch over to alloca expr 2023-07-30 18:48:35 +02:00
Folkert
cdd2aab217
add alloca as an expression 2023-07-30 18:46:00 +02:00
J.Teeuwissen
80faf0eeee
removed borrow.rs 2023-07-30 14:03:38 +02:00
Ayaz Hafiz
8d9c6d09b9
Load as a stack pointer 2023-07-12 14:46:11 -05:00
Ayaz Hafiz
283b9d53d6
Add Expr::ErasedLoad 2023-07-12 14:42:46 -05:00
Ayaz Hafiz
2c838aa5c2
Add mono Expr::ErasedMake 2023-07-12 14:40:16 -05:00
Ayaz Hafiz
2cb2e37fd7
Specialize erased 2023-07-12 14:21:28 -05:00
Ayaz Hafiz
cf30f02e01
Expr::FunctionPointer 2023-07-12 14:21:27 -05:00
Ayaz Hafiz
510a421748
Call erased functions 2023-07-12 14:14:25 -05:00
Folkert
d64930c17f
remove box and unbox expressions 2023-07-09 15:47:28 +02:00
Folkert
0308e02ba9
update some logic and comments 2023-06-29 18:40:27 +02:00
Folkert
f27cb83a02
remove Reuse 2023-06-29 18:40:26 +02:00
Folkert
9ab4413beb
rewrite constFolding logic 2023-06-24 14:49:49 +02:00
Folkert
0247237fe8
WIP 2023-06-24 14:49:46 +02:00
Folkert
4a9514d2c4
rough implementation 2023-06-24 14:49:46 +02:00
J.Teeuwissen
36f90c05e2
updated Stmt::Dbg 2023-06-07 08:34:36 +02:00
J.Teeuwissen
d8f1b1bfe4
removed refcount type from proc 2023-06-03 19:25:13 +02:00
J.Teeuwissen
99dae2fd80
expect as borrowed 2023-05-15 00:53:13 +02:00
J.Teeuwissen
9e74a2cc8c
fixed rc for debug/expect 2023-05-15 00:53:11 +02:00
J.Teeuwissen
e2042debfd
feedback 2023-04-30 12:01:01 +02:00
J.Teeuwissen
042482a19f
pipeline 2023-04-29 17:59:17 +02:00
J.Teeuwissen
c1ced3c5d2
inc lowlevel return value 2023-04-29 14:30:14 +02:00
J Teeuwissen
7439ee0c8c
Merge branch 'main' into drop_specialization
Signed-off-by: J Teeuwissen <jelleteeuwissen@hotmail.nl>
2023-04-26 20:26:37 +02:00
J.Teeuwissen
4de6369e6a
simplified join + mono 2023-04-26 20:11:44 +02:00
Folkert
4cd8f0a056 clippy --fix fixes 2023-04-21 12:05:51 +02:00
J.Teeuwissen
c8ec17f782
drop dead join 2023-04-17 12:38:41 +02:00
J.Teeuwissen
ca45e3c9f9
replaced most iter::once 2023-04-16 19:58:28 +02:00
J.Teeuwissen
10de47db50
SymbolRcTypes two sets 2023-04-16 19:40:45 +02:00
J.Teeuwissen
f0a1842697
Resolving nitpicky ;) comments 2023-04-16 19:34:07 +02:00
J.Teeuwissen
36e83fca1c
updated tests 2023-04-16 16:34:41 +02:00
J.Teeuwissen
9d4c3bcfb9
undid inlining 2023-04-15 17:41:10 +02:00
J.Teeuwissen
3c5a978bbe
fixed borrow/owned 2023-04-15 14:55:40 +02:00
J.Teeuwissen
6ece065504
implementing feedback 2023-04-13 15:54:30 +02:00