Commit graph

132 commits

Author SHA1 Message Date
Richard Feldman
c57d95f818
Remove unused ReferenceCount from roc_std 2022-05-26 11:41:42 -04:00
Richard Feldman
d9b8cec74d
Use Clone and Drop instead of ReferenceCount in roc_std 2022-05-26 11:15:19 -04:00
Richard Feldman
ab96f510fe
Add some documentation to ReferenceCount trait 2022-05-25 15:28:12 -04:00
Richard Feldman
713f8bc4ed
Add Hash impl to RocStr 2022-05-25 12:46:20 -04:00
Richard Feldman
1bc640d53e
re-export Storage from roc_std 2022-05-24 16:16:05 -04:00
Richard Feldman
879af96ba1
Merge pull request #3112 from rtfeldman/roc-dec-alignment
Giving RocDec alignment of 16
2022-05-21 10:55:57 -04:00
Richard Feldman
49aea9d639
Use [u8; 16] to avoid number alignment bumps 2022-05-21 00:53:47 -04:00
Richard Feldman
0d51443575
Give RocDec align 16 in roc_std 2022-05-20 23:36:30 -04:00
Richard Feldman
22b5eaddcb
Combine repr(C) and align annotations 2022-05-20 22:03:32 -04:00
Richard Feldman
1047c5635a
Merge remote-tracking branch 'origin/trunk' into test-bindgen 2022-05-19 14:10:53 -04:00
Anton-4
0f59f3097a
cargo fix --edition 2022-05-16 17:04:17 +02:00
Richard Feldman
5bceedd40b
Add I128 and U128 to roc_std 2022-05-15 22:12:56 -04:00
Richard Feldman
a1475956a8
Give RocList PartialOrd and Ord instances 2022-05-15 22:12:54 -04:00
Richard Feldman
e2fe23b0dd
Add Ord and PartialOrd to RocStr 2022-05-06 15:08:08 -04:00
Richard Feldman
f327e34d34
Merge branch 'toF32' into breakout 2022-04-07 18:58:13 -04:00
Richard Feldman
b1b3d92b04
Merge remote-tracking branch 'origin/trunk' into focus 2022-03-26 00:41:45 -04:00
Folkert
07063a8e18
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-09 14:36:34 +01:00
Derek Gustafson
ba6b225761
Hide RocDec implemntation details. 2022-03-07 15:34:02 -05:00
Derek Gustafson
f1ba27a1c9
Off by 1 error in Dec printer. 2022-03-06 17:23:14 -05:00
Derek Gustafson
1c9e0c57bf
Make RocDecs display properly in webrepl. 2022-03-06 11:52:25 -05:00
Derek Gustafson
f2de6baa36
Add functionality to turn RocDecs into strings. 2022-03-05 17:28:12 -05:00
Richard Feldman
88d15a3c59
Fix typo in comment 2022-03-05 17:10:41 -05:00
Richard Feldman
eb663e85a6
Allow making a RocList from a slice 2022-03-05 17:10:40 -05:00
Richard Feldman
ed496bfb2a
Add roc_std/Cargo.lock 2022-03-05 17:10:40 -05:00
Derek Gustafson
a021c09752
Implement RocDec to [u8] algorithm. 2022-03-04 22:52:13 -05:00
Derek Gustafson
dc92de7781
Add plumbing for displaying RocDec in the repl. 2022-03-04 17:32:09 -05:00
Anton-4
81d5e47f40 fmt 2022-03-01 16:41:09 +01:00
Brendan Hansknecht
39d070e543 flip platform flag to be default 2022-02-25 20:10:36 -08:00
Brendan Hansknecht
4d8239ea5c add safety comments 2022-02-25 12:00:25 -08:00
Brendan Hansknecht
6968647cc5 update versions to lockfile 2022-02-25 11:41:05 -08:00
Brendan Hansknecht
7db365f4ee flip platform flag to fix it 2022-02-25 11:39:49 -08:00
Brendan Hansknecht
f59b5cab95 fix undefined symbols in roc_std with platform feature 2022-02-25 11:05:08 -08:00
Tom Dohrmann
788c8a6af2 reimplement RocList and RocStr 2022-02-23 16:02:13 +01:00
Folkert
dea6cfbc8f
various fixes 2022-02-20 00:20:50 +01:00
Folkert
c02348c8e2
add capacity to rust RocStr 2022-02-19 21:39:10 +01:00
Folkert
808ab15f14
make small str creation a const fn 2022-02-19 21:01:37 +01:00
Folkert
e17d1a5517
refactor 2022-02-19 16:47:00 +01:00
Folkert
bb40adad3a
add memory representation tests 2022-02-19 16:04:13 +01:00
Folkert
701bf57192
improved small string creation 2022-02-19 15:33:28 +01:00
Folkert
b97cd894f0
make empty() const fn 2022-02-19 15:10:57 +01:00
Folkert
298fde7e42
split out RocStr 2022-02-18 23:44:36 +01:00
Folkert
d2086c58c2
split out list 2022-02-18 23:42:32 +01:00
Tom Dohrmann
5c0849ea82 fix referencing uninitialized memory 2022-02-15 22:58:29 +01:00
Brendan Hansknecht
1af80316d4 Fix mutability 2022-02-12 13:02:02 -08:00
Brendan Hansknecht
9bbda7ead0 Add Deref and DerefMut to RocList and RocStr
This enables things like implicitly using it as a slice and using `.iter()` instead of `into_iter()`
2022-02-12 12:57:53 -08:00
Richard Feldman
2b5a660178
Add Display to RocStr 2022-02-05 22:52:17 -05:00
Folkert
655022be78 fix string debug printing 2021-12-31 15:37:53 +01:00
Folkert
9762c98355 make RocStr debug print its contents as a string 2021-12-31 14:27:27 +01:00
Folkert
36700a0c70 shrink tag width on RocResult 2021-12-27 23:59:12 +01:00
Folkert
007d777865 flesh out api for RocResult 2021-12-27 20:01:19 +01:00