Joshua Warner
|
a1512dfd79
|
Introduce State::advance_mut and State::consume_mut to simplify things
|
2022-07-19 19:20:38 -07:00 |
|
Joshua Warner
|
7a594901dd
|
Refactor: inline simple advance_state macro
|
2022-07-19 17:01:33 -07:00 |
|
Richard Feldman
|
7e446d1b0d
|
Eliminate @memcpy from Str.trim functions
|
2022-07-18 10:28:53 -04:00 |
|
Richard Feldman
|
b6b66b883a
|
Merge pull request #3569 from rtfeldman/joshuawarner32/when-after-line-start
Correct indentation for when expressions
|
2022-07-18 09:55:58 -04:00 |
|
Richard Feldman
|
fd65f12cad
|
Merge pull request #3567 from rtfeldman/result-try
Rename `Result.after` to `Result.try`, `Result.afterErr` to `Result.onErr`
|
2022-07-17 22:47:02 -04:00 |
|
Ayaz
|
d354dd177a
|
Merge pull request #3564 from rtfeldman/fix-json
JSON doesn't allow trailing commas
|
2022-07-17 21:43:01 -05:00 |
|
Joshua Warner
|
ada8af25cc
|
Correct indentation for when expressions
... and simultaneously remove the need for State::indent_column field / multiline tracking in blankspace.rs.
Fixes #2889
|
2022-07-17 19:26:33 -07:00 |
|
Richard Feldman
|
8036533749
|
Update symbols
|
2022-07-17 21:37:32 -04:00 |
|
Richard Feldman
|
145bd8b4a2
|
Rename Result.afterErr to Result.onErr
|
2022-07-17 21:37:32 -04:00 |
|
Richard Feldman
|
0acab0eef3
|
Rename Result.after to Result.try
|
2022-07-17 17:25:50 -04:00 |
|
Richard Feldman
|
518b21c3f8
|
Rename Json.format to Json.toUtf8
|
2022-07-17 15:21:27 -04:00 |
|
Richard Feldman
|
4af506c530
|
JSON doesn't allow trailing commas
|
2022-07-17 15:18:52 -04:00 |
|
Richard Feldman
|
31f7d72ce0
|
Merge pull request #3529 from rtfeldman/derive-lists
Derive encoding for lists
|
2022-07-17 14:28:44 -04:00 |
|
Richard Feldman
|
f575807834
|
Merge remote-tracking branch 'origin/trunk' into outdent-infix
|
2022-07-16 16:08:36 -04:00 |
|
Ayaz Hafiz
|
863cdfe2a1
|
Format JSON
|
2022-07-16 12:31:08 -04:00 |
|
Ayaz Hafiz
|
8de80b2afa
|
Add deriving list of records test
|
2022-07-16 12:31:07 -04:00 |
|
Ayaz Hafiz
|
e06e83be05
|
Fix JSON list encoding bug
|
2022-07-16 12:31:07 -04:00 |
|
Ayaz Hafiz
|
ce6c7fce3f
|
Add list deriving gen test
|
2022-07-16 12:31:07 -04:00 |
|
Ayaz Hafiz
|
e3742481f4
|
Improve pretty printing of derived impls
|
2022-07-16 12:31:06 -04:00 |
|
Ayaz Hafiz
|
c647973dee
|
Wrap list encoders in Encode.custom for now
|
2022-07-16 12:30:15 -04:00 |
|
Ayaz Hafiz
|
e83175cf75
|
Add a deriver for encoding lists
|
2022-07-16 12:30:14 -04:00 |
|
Ayaz Hafiz
|
0dfdcf5523
|
Get rid of some dead deriving code
My favorite kind of dead code elimination
|
2022-07-16 12:28:39 -04:00 |
|
Folkert de Vries
|
dc74803c18
|
Merge pull request #3523 from rtfeldman/more-encoding-deriving
More encoding deriving
|
2022-07-16 11:37:37 +02:00 |
|
Brian Carroll
|
dae8eccb70
|
Fix a comment in Str.roc
|
2022-07-16 08:26:19 +01:00 |
|
Folkert de Vries
|
98dbd236fb
|
Merge pull request #3546 from rtfeldman/syntactic-ability-specializations
Parse and format "has-abilities" clauses in opaque types
|
2022-07-16 02:06:00 +02:00 |
|
Ayaz Hafiz
|
be9944a7e1
|
Improve indent of has-abilities clauses
|
2022-07-15 11:59:03 -04:00 |
|
Ayaz Hafiz
|
dc3f8db6b8
|
Stray dbg
|
2022-07-15 11:46:32 -04:00 |
|
Ayaz Hafiz
|
3c65fbcf35
|
Format has clauses with impls
|
2022-07-15 11:45:53 -04:00 |
|
Ayaz Hafiz
|
85cbab0193
|
Add fmt test for empty has abilities block
|
2022-07-15 11:17:21 -04:00 |
|
Ayaz Hafiz
|
4d54e2ee3c
|
Add test for empty impl block parse
|
2022-07-15 11:15:44 -04:00 |
|
Ayaz Hafiz
|
ecaccdaac3
|
Update parse tests
|
2022-07-15 11:15:01 -04:00 |
|
Ayaz Hafiz
|
3ada644544
|
Format impls blocks
|
2022-07-15 11:14:49 -04:00 |
|
Ayaz Hafiz
|
85599e3a9a
|
Parse impl blocks in abilities
|
2022-07-15 11:06:44 -04:00 |
|
Ayaz Hafiz
|
eb2012dcad
|
Typos
|
2022-07-15 10:39:10 -04:00 |
|
Ayaz Hafiz
|
a5a80d2d17
|
Test immediate encoding derivers
|
2022-07-15 10:39:09 -04:00 |
|
Ayaz Hafiz
|
946004a82f
|
Support immediate derivers for numbers
|
2022-07-15 10:39:09 -04:00 |
|
Ayaz Hafiz
|
2e20441157
|
Num * can't be derived for encoding, but concrete numbers can be
|
2022-07-15 10:39:09 -04:00 |
|
Ayaz Hafiz
|
7b23077265
|
Treat numbers as ad-hoc types for the purpose of checking ability obligations
|
2022-07-15 10:39:09 -04:00 |
|
Ayaz Hafiz
|
568e8d9475
|
Remove explicit string deriving code in favor of immediate
|
2022-07-15 10:39:09 -04:00 |
|
Ayaz Hafiz
|
9a66e936a8
|
Switch String deriving to be an immediate deriver
|
2022-07-15 10:39:08 -04:00 |
|
Ayaz Hafiz
|
c98ba441cf
|
Properly handle immediate derivations
|
2022-07-15 10:38:11 -04:00 |
|
Ayaz Hafiz
|
e91247a64d
|
Store ability member lambda sets in storage subs
|
2022-07-15 10:38:11 -04:00 |
|
Ayaz Hafiz
|
52d3f9721f
|
Add function to extract ability member's lambda sets at regions
|
2022-07-15 10:38:11 -04:00 |
|
Ayaz Hafiz
|
759134885b
|
Explain pushing/popping types on region labelling stack
|
2022-07-15 10:38:10 -04:00 |
|
Folkert de Vries
|
460b822caa
|
Merge pull request #3501 from rtfeldman/derive-tag-union-encoding-gen
Derive tag union encoding gen
|
2022-07-15 15:57:41 +02:00 |
|
Folkert
|
b9ebd4fa27
|
Merge remote-tracking branch 'origin/trunk' into pretty-expect-output
|
2022-07-15 09:12:04 +02:00 |
|
Folkert
|
b6224a3806
|
ugly hack to make the docs build
|
2022-07-14 22:15:19 +02:00 |
|
Folkert de Vries
|
1b1b63aad0
|
Merge branch 'trunk' into assoc-list-dict
|
2022-07-14 16:47:50 +02:00 |
|
Ayaz Hafiz
|
d4d073d8c6
|
Rename Derived to HasAbility
|
2022-07-14 10:38:37 -04:00 |
|
Richard Feldman
|
897c6b17df
|
cargo fmt
|
2022-07-14 10:22:40 -04:00 |
|