Commit graph

1527 commits

Author SHA1 Message Date
Brian Carroll
a4e4dc84b1
Change Method type to a tag union 2022-07-17 22:00:19 +01:00
Brian Carroll
48aa248813
Use non-empty values for all fields in Request example, to debug host interface 2022-07-17 22:00:18 +01:00
Brian Carroll
f1e88e8af6
Use a tag instead of record for Http Header. Nicer in real usage. 2022-07-17 22:00:18 +01:00
Brian Carroll
2b8466d427
Revert "reproduce unhandled parse error"
This reverts commit 9e44dedfbb3aab98ab872afea76d0c8a0aac1679.
2022-07-17 22:00:18 +01:00
Brian Carroll
535c2b1c58
reproduce unhandled parse error 2022-07-17 22:00:17 +01:00
Brian Carroll
33d8e12d31
Http example is running! Not debugged yet. 2022-07-17 22:00:17 +01:00
Brian Carroll
9aba821e82
Workaround a compile error with defaultRequest by.. not using it! 2022-07-17 22:00:16 +01:00
Brian Carroll
1d99a63c59
Fix Roc compile errors in http-get.roc 2022-07-17 22:00:16 +01:00
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
4be19ed320
Import Stdout 2022-07-17 22:00:14 +01:00
Brian Carroll
0e13c875c4
rename http example app 2022-07-17 22:00:14 +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
Brendan Hansknecht
865e789966
Merge branch 'trunk' into gen-dev/quicksort 2022-07-16 19:05:15 -07:00
Brendan Hansknecht
08be0dc8aa
fix llvm backend c abi for parameters passed by reference on the stack 2022-07-16 16:34:51 -07:00
Marten/Qqwy
c40d03fe22
Support RFC4180 better (drop support for final newline) 2022-07-16 23:47:57 +02:00
Marten/Qqwy
ac16db641a
Improve the CSV parser documentation 2022-07-16 23:39:22 +02:00
Marten/Qqwy
a9a4bcb81b
some whitespace cleanup 2022-07-16 23:18:16 +02:00
Marten/Qqwy
36dedf1f8f
Remove old file 2022-07-16 23:16:22 +02:00
Marten/Qqwy
47452e9f6c
Use the movies example 2022-07-16 23:06:16 +02:00
Marten/Qqwy
4981f5b12f
Movies example :-D 2022-07-16 22:32:36 +02:00
Marten/Qqwy
b2af5d37bb
Add another field to test more in the main.roc example 2022-07-16 22:11:24 +02:00
Marten/Qqwy
bbd049a062
Fix some check warnings 2022-07-16 22:09:30 +02:00
Richard Feldman
f575807834
Merge remote-tracking branch 'origin/trunk' into outdent-infix 2022-07-16 16:08:36 -04:00
Marten/Qqwy
35ff9642aa
Better parse errors on CSV parsing fail. 2022-07-16 21:49:18 +02:00
Brendan Hansknecht
9ba74c02e7
switch quicksort away from _generic function to run with dev 2022-07-16 12:35:10 -07:00
Marten/Qqwy
b45ce4908d
Adapt main example. 2022-07-16 13:11:23 +02:00
Marten/Qqwy
66b202e96b
The checker is happy! 2022-07-16 13:04:14 +02:00
Marten/Qqwy
951dc6f063
Almost finished with the CSV parser logic 2022-07-16 12:51:12 +02:00