Commit graph

110 commits

Author SHA1 Message Date
Brian Carroll
13018497b7
Manual fixes for bindgen code 2022-07-17 22:00:16 +01:00
Brian Carroll
a0ac1ff981
For now, commit bindgen generated code so we can record edits needed 2022-07-17 22:00:15 +01:00
Brian Carroll
85bd8c54f2
Tidy up Http example 2022-07-17 22:00:15 +01:00
Brian Carroll
bee6f2f833
Http example passes roc check 2022-07-17 22:00:15 +01:00
Brian Carroll
1c9becc252
Fix missing import 2022-07-17 22:00:13 +01:00
Brian Carroll
5fe5a8e8d5
BUG REPRO: bad error message for missing Json import 2022-07-17 22:00:13 +01:00
Richard Feldman
18cf29f6e9
Revert "Reproduce confusing error message"
This reverts commit 6c62f72489de68f92493eeda9584c3879dedbd84.
2022-07-17 22:00:12 +01:00
Richard Feldman
e77b2bf8b1
Reproduce confusing error message
To reproduce:
`cargo run -- check examples/interactive/cli-platform/main.roc`
2022-07-17 22:00:12 +01:00
Richard Feldman
1ee5d79fcf
Fix an import in Effect.roc 2022-07-17 22:00:12 +01:00
Richard Feldman
13f5f27c9b
Remove 'pf' in pf.Effect in platform import 2022-07-17 22:00:11 +01:00
Brian Carroll
63a2e66364
BUG REPRO roc check hangs forever on Http.roc 2022-07-17 22:00:11 +01:00
Brian Carroll
f4019306cd
BUG REPRO: roc check hangs forever 2022-07-17 22:00:11 +01:00
Brian Carroll
807988aee6
Very simplistic http effect 2022-07-17 22:00:10 +01:00
Brian Carroll
26ff3ebc0e
make a sync version of Http 2022-07-17 22:00:10 +01:00
Brian Carroll
664ee1f0dc
WIP: sending the Request 2022-07-17 22:00:09 +01:00
Brian Carroll
2791326a94
Tracker should be Str, not F64 2022-07-17 22:00:09 +01:00
Brian Carroll
0e9d2086a4
bindgen for Response 2022-07-17 22:00:09 +01:00
Brian Carroll
06eb45741b
Http working with check and bindgen (but no effects) 2022-07-17 22:00:08 +01:00
Brian Carroll
15c5b6fcfe
Fix import error 2022-07-17 22:00:08 +01:00
Brian Carroll
bf37023578
Install reqwest in http example, hack bindgen 2022-07-17 22:00:08 +01:00
Brian Carroll
b10343380e
Handle http responses 2022-07-17 22:00:07 +01:00
Brian Carroll
1d16f09208
Start working on Http.roc 2022-07-17 22:00:07 +01:00
Richard Feldman
af9f160871
Fix a bunch of Path type mismatches 2022-07-17 11:30:08 -04:00
Richard Feldman
b2c64ea231
Create InternalPath so Effect can use it w/o cyclic dep 2022-07-17 11:28:44 -04:00
Richard Feldman
7908e8c176
roc format examples 2022-07-13 23:16:09 -04:00
Richard Feldman
6abf25e3a8
Remove incorrect package qualifiers from CLI platform 2022-07-13 12:42:44 -04:00
Richard Feldman
b75b3223c9
roc format Path.roc 2022-07-12 21:58:24 -04:00
Richard Feldman
a2625e6f2c
Drop an unnecessary floating doc comment 2022-07-12 21:58:24 -04:00
Richard Feldman
9089370b3a
Drop obsolete docs 2022-07-12 21:58:24 -04:00
Richard Feldman
c86e25edee
Fix some parse errors 2022-07-12 21:58:24 -04:00
Richard Feldman
44c562b12e
Revert "Remove Path.roc for now"
This reverts commit 67bae24a5f2368be627ff945e9ce0244aefe3519.
2022-07-12 21:58:23 -04:00
Richard Feldman
c29d2556b2
roc format Url.roc 2022-07-12 13:03:49 -04:00
Richard Feldman
c4616c2e78
roc format Url.roc 2022-07-08 20:06:16 -04:00
Richard Feldman
d6d33541b1
Update a bunch of Url docs 2022-07-08 20:06:16 -04:00
Richard Feldman
5a566c721e
Update Cargo.lock for cli-platform 2022-07-08 20:06:16 -04:00
Richard Feldman
2a42ca3821
Fix percent-encoding 2022-07-08 20:06:16 -04:00
Richard Feldman
53689c5cf0
Add Url.reserve and withCapacity 2022-07-08 20:06:16 -04:00
Richard Feldman
b26479718d
Fix a bunch of compile errors in Url 2022-07-08 20:06:15 -04:00
Richard Feldman
e6dce24630
Fix some parsing and formatting issues 2022-07-08 20:06:15 -04:00
Richard Feldman
9d965a6f36
Add Url functions for manipulating the fragment 2022-07-08 20:06:15 -04:00
Richard Feldman
4f171f381c
Add Url.withFragment and Url.hasFragment 2022-07-08 20:06:15 -04:00
Richard Feldman
ef95099e2d
Expand Url docs 2022-07-08 20:06:15 -04:00
Richard Feldman
ac03572e76
Percent-encode query params 2022-07-08 20:06:15 -04:00
Richard Feldman
1f47042aa5
Remove Path.roc for now 2022-07-08 20:06:15 -04:00
Richard Feldman
82fcff9791
Update Url.roc 2022-07-08 20:06:14 -04:00
Richard Feldman
a95157ad1b
Update Url module 2022-07-08 20:06:14 -04:00
Richard Feldman
59ca19b5c3
Have Url.percentEncode encode non-ASCII chars 2022-07-08 20:06:14 -04:00
Richard Feldman
4a80f9e164
Add WIP Path.roc and Url.roc to CLI platform 2022-07-08 20:06:14 -04:00
Richard Feldman
5e533c4a0f
Add a third type param to Task 2022-07-07 10:06:02 -04:00
Richard Feldman
61a05c7059
roc format examples 2022-07-06 15:10:17 -04:00