Commit graph

8642 commits

Author SHA1 Message Date
Anton-4
33f598f038 changed RecordField<Type2> to RecordField<TypeId> for Type2::Record 2021-05-05 20:49:12 +02:00
rvcas
74180494b2 fix: sizes in Type2 comments 2021-05-05 13:58:50 -04:00
Folkert
48f392f372 fix bad test examples using unbound type alias variables 2021-05-05 19:54:10 +02:00
rvcas
58c239df15 fix: add place holder for Expected ShallowClone for now 2021-05-05 12:19:23 -04:00
rvcas
934252a50e feat(Expr2): add constrain match case for Record 2021-05-05 10:45:39 -04:00
rvcas
dd27539507 test: add constrain_record 2021-05-05 10:45:11 -04:00
Folkert
1ac66a8fee attempt to make examples more generic 2021-05-05 16:00:30 +02:00
Anton-4
7c9bab5e8f Support for macOS command key, added editor idea+inspiration 2021-05-05 15:59:58 +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
a43778ffe1
Add Basile Henry to AUTHORS 2021-05-04 18:03:50 -04: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
Richard Feldman
4808b2cd65 Use © instead of (c) for copyright symbol 2021-05-03 21:18:36 -04:00
Richard Feldman
83a4f259f5
Merge pull request #1263 from rtfeldman/basile/multiline-prompt
Multiline prompt in REPL
2021-05-03 21:17:17 -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
Basile Henry
6459b8d8cf Setup multiline prompt in the REPL 2021-05-03 14:19:28 +02:00
Basile Henry
5e0a4f04bd Use rustyline fork for continuation prompt 2021-05-03 14:19:28 +02:00
Richard Feldman
84c46b94e2
Merge pull request #1261 from rtfeldman/module-level-documentation
Detatched Docs
2021-05-03 07:52:19 -04: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
Richard Feldman
7eb956cf0d
Merge pull request #1259 from rtfeldman/parser
`Str` API revisions for parsing
2021-05-02 22:04:44 -04:00
Richard Feldman
1e1c3f4ee6
Merge pull request #1262 from rtfeldman/basile/defs-in-repl
Accept defs in REPL
2021-05-02 17:14:27 -04:00
Folkert de Vries
b2e0314774
Merge branch 'trunk' into basile/defs-in-repl 2021-05-02 22:42:15 +02:00
Chadtech
d1a18c8b6a Removed module docs and added detatched doc as a kind of doc entry 2021-05-02 16:34:48 -04:00
Basile Henry
309a4e8ad0 Accept defs in REPL
by parsing the input as part of the validation (on Enter). This is a
reliable way to determine if the input so far could become a valid
expression with more input lines.
2021-05-02 22:31:06 +02: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
0a10009b25 Drop unnecessary Bytes functions 2021-05-02 12:21:10 -04:00
Richard Feldman
4533ee034c Add Str.chompCodePoint 2021-05-02 12:15:14 -04:00
Richard Feldman
8c981d8737 Add a note about single quote syntax 2021-05-02 12:15:07 -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