Commit Graph

35 Commits

Author SHA1 Message Date
Richard Feldman
ccd0d32332
Merge remote-tracking branch 'origin/main' into glue-dict 2022-08-21 09:51:22 -04:00
Ayaz Hafiz
f70993c2a3
Add RocList from array 2022-08-17 17:58:03 -05:00
Ayaz Hafiz
b1e41a5995
Remove Clone restriction from RocList FromIterator
You don't need clone-able elements to create a Roc list from an owned
iterator.
2022-08-17 17:44:06 -05:00
Richard Feldman
c2c9c87cd2
Simplify RocList Debug again 2022-08-15 13:05:32 -04:00
Richard Feldman
8742a81caf
Add len for RocDict and RocSet 2022-08-15 13:05:32 -04:00
Richard Feldman
f9013a881e
Don't print "RocList" in its Debug instance 2022-08-15 13:05:31 -04:00
Richard Feldman
ec0e80f5d2
Add basic roc_std Dict and Set implementations 2022-08-15 10:59:58 -04:00
Richard Feldman
97fef48864
Improve RocList's Debug implementation 2022-08-15 10:59:58 -04:00
Folkert de Vries
0fab77af99
Merge pull request #3751 from roc-lang/relax-clone
Don't require `Clone` on as many `RocList` methods
2022-08-13 00:11:23 +02:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
Richard Feldman
6224180462
Revert "Don't decrement refcount when extending RocList"
This reverts commit 477ed96e15.
2022-08-11 20:50:29 -04:00
Richard Feldman
477ed96e15
Don't decrement refcount when extending RocList 2022-08-11 10:25:34 -04:00
Brian Hicks
48de542f2c
remove copy-pasted comment 2022-08-11 05:55:50 -05:00
Richard Feldman
3180d16be2
Add some cfg(serde) annotations where needed 2022-08-10 21:16:47 -04:00
Richard Feldman
90badfe81f
Don't require Clone on as many RocList methods 2022-08-10 20:24:39 -04:00
Brian Hicks
31390c8ba3
implement Serialize/Deserialize for RocList 2022-08-10 17:32:31 -05:00
Brian Hicks
3afe0b1a30
implement Serialize/Deserialize for RocStr 2022-08-10 16:57:00 -05:00
Brian Hicks
3bf5949b32
we'll test ser/de with JSON 2022-08-10 16:56:48 -05:00
Brian Hicks
441b1f7b7d
keep version in sync with Cargo.toml 2022-08-10 16:47:28 -05:00
Brian Hicks
fc4e4fa832
add a serde feature and dependency 2022-08-10 16:47:27 -05:00
Folkert
792936066c
Merge remote-tracking branch 'origin/trunk' into roc-std-platform 2022-08-07 13:28:03 +02:00
Folkert
9574bd9928
move implementation of platform functions to use site... 2022-08-06 21:32:18 +02:00
Folkert
6394a4e337
update no_std config 2022-08-06 19:05:29 +02:00
Folkert
b4eda7c9d9
rework features for roc_std 2022-08-06 19:01:07 +02:00
Richard Feldman
7186c07151
Conditionally import ffi::c_void 2022-08-03 22:42:10 -04:00
Richard Feldman
b0071d274b
Drop unnecessary cfg(any(test)) condition 2022-08-03 22:41:54 -04:00
Folkert de Vries
64eba70f50 linker 2022-08-03 23:25:48 +02:00
Folkert de Vries
f282641a0b clippy 2022-08-03 21:42:17 +02:00
Folkert de Vries
7f4e0bb0c9 gen_wasm use dummy platform functions 2022-08-03 21:35:28 +02:00
Anton-4
6a15a7b41b
changed Cargo versions from 0.1.0 to 0.0.1 2022-08-03 11:41:19 +02:00
Brian Carroll
b14d9b5244
Fix over-allocation in List::from_iter 2022-07-20 08:53:47 +01:00
Brian Carroll
ba7b98bdaa
Special-case RocList::from_iter for zero-size elements 2022-07-20 08:25:57 +01:00
Brian Carroll
9192aa74cd
Create RocList::from_iter 2022-07-18 20:28:04 +01:00
Folkert
23248e6f7d
Cargo.lock 2022-07-03 19:47:53 +02:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00