Commit graph

3684 commits

Author SHA1 Message Date
Folkert
e7f59ea62d use associated const 2021-05-09 00:28:06 +02:00
Folkert
fea8ab47cc implement enough for Quicksort example 2021-05-08 23:41:55 +02:00
Folkert
a99ba56eba implement list lowlevels 2021-05-08 23:17:41 +02:00
Folkert
0b02782b73 start with lowlevel 2021-05-08 19:01:00 +02:00
Folkert
b172193533 bind function arguments 2021-05-08 15:15:05 +02:00
Folkert
989a7709d9 more layouts -> typeids 2021-05-08 15:14:02 +02:00
Folkert
8dcebb35ac tag literals 2021-05-08 15:09:53 +02:00
Folkert
03d5f05226 to_ne_bytes 2021-05-08 14:26:03 +02:00
Folkert
ce3e0f063f clippy 2021-05-07 21:01:11 +02:00
Folkert
352dacc5a3 build skeleton 2021-05-07 20:57:04 +02:00
Folkert
f7fe811f0c alias analysis here we come! 2021-05-07 17:26:49 +02:00
Richard Feldman
ab8cc95c2b Disable clippy rule for manual_map 2021-05-07 08:44:44 -04:00
Folkert
fecb83b9c2 fixes 2021-05-07 11:00:15 +02:00
Folkert
b5c655c84d add constraint validation code (currently unused) 2021-05-05 21:35:49 +02:00
Folkert
86ffd430d7 introduce missing var 2021-05-05 21:35:39 +02:00
Folkert
48f392f372 fix bad test examples using unbound type alias variables 2021-05-05 19:54:10 +02:00
Folkert
1ac66a8fee attempt to make examples more generic 2021-05-05 16:00:30 +02:00
Folkert
2ca6f0107a re-enable rose tree test 2021-05-05 15:18:26 +02:00
Folkert
13dfa79c5d re-enable rigid test 2021-05-05 15:14:30 +02:00
Folkert
b76ea0b9d9 re-enable test 2021-05-05 15:13:33 +02:00
Folkert
31647f61f9 enable new test 2021-05-05 15:11:30 +02:00
Folkert
0ec1c49042 slightly optimize rank calculation 2021-05-05 15:02:52 +02:00
Folkert
5372c45cdd no manual rank hacking please 2021-05-05 14:49:54 +02:00
Folkert
149ddf7309 add test case 2021-05-05 14:49:00 +02:00
Folkert
b02569646f add Debug instance 2021-05-05 14:06:31 +02:00
Folkert
61ffe687ce introduce LambaSet variables 2021-05-05 13:54:21 +02:00
Richard Feldman
b775b39fe4
Merge pull request #1264 from rtfeldman/num-too-general
Fix wildcard rigid issue
2021-05-03 21:26:15 -04:00
Folkert
82aa5c766d fix gen_primitives tests 2021-05-03 21:22:21 +02:00
Folkert
e69c512312 fix other reporting wildcard tests 2021-05-03 20:47:20 +02:00
Folkert
b4385f8775 add tests for error message 2021-05-03 20:42:47 +02:00
Folkert
9b0e14ef4c treat wildcards as rigids 2021-05-03 20:39:29 +02:00
Basile Henry
f6179404d1 Remove dependency on test module 2021-05-03 15:21:55 +02:00
Richard Feldman
29633f03d1 Merge remote-tracking branch 'origin/trunk' into module-level-documentation 2021-05-02 22:20:41 -04:00
Richard Feldman
83dde26cd0 Fix Str.startsWithCodePoint docs 2021-05-02 22:16:58 -04:00
Richard Feldman
465c5fa18a
Merge pull request #1260 from rtfeldman/parse-str
implement startsWithCodePoint
2021-05-02 22:15:53 -04:00
Chadtech
d1a18c8b6a Removed module docs and added detatched doc as a kind of doc entry 2021-05-02 16:34:48 -04:00
Chadtech
53c2a87161 Remove dbg 2021-05-02 14:38:00 -04:00
Chadtech
ad4402a67d Figure out module documentation by reading through the comments or new lines from the SpaceBefore the first entry to the module 2021-05-02 14:33:14 -04:00
Chadtech
0e39675d68 Add Usv type to Str exports, and reformat Str interface generally 2021-05-02 14:31:17 -04:00
Chadtech
cf06eb8737 Add Bytes type to Bytes.roc 2021-05-02 14:29:57 -04:00
Folkert de Vries
be36fe7194
Merge branch 'trunk' into parse-str 2021-05-02 19:33:41 +02:00
Folkert
c071cfba13 implement startsWithCodePoint 2021-05-02 19:26:08 +02:00
Richard Feldman
4533ee034c Add Str.chompCodePoint 2021-05-02 12:15:14 -04:00
Richard Feldman
9351dc3d14 Revise Str.parseGrapheme docs 2021-05-02 12:10:39 -04:00
Richard Feldman
0f5958781f Add Str.startsWithCodePoint and Str.parseCodePoint 2021-05-02 12:10:39 -04:00
Richard Feldman
4d1571c39d Drop Num.endi
It's [not portable](https://doc.rust-lang.org/std/primitive.u32.html#method.to_ne_bytes),
and apparently (in a Rust discussion somewhere) it's been said that the
host endianness is very rarely useful in user code. Given all that, it seems
reasonable to leave it up to platforms to expose it (or not).
2021-05-02 12:10:39 -04:00
Richard Feldman
e5ebf9c4ef Add Byte Order Mark concept 2021-05-02 12:10:39 -04:00
Richard Feldman
877cc328d2 Move things into roc/bytes and roc/unicode 2021-05-02 12:10:39 -04:00
Folkert
f0070e7464 remove field from procs; pass separately 2021-05-02 15:28:53 +02:00
Folkert
cd1103df64 bumpalo allocator sadness; revert later 2021-05-02 01:09:16 +02:00