Repository navigation
Update website docs/examples for or types and the result/option removal - #3113
Conversation
…re it over writing Variant<> directly Removes std/result and std/option: Option<T> (Some/None/IsSome/IsNone/UnwrapOr/Unwrap/Expect) moves into std/core, and user code gets its own Ok/Err enum or throws/try/catch for error returns instead of a stdlib Result.
…n, and Variant<> tests to the 'or' syntax
…d std/option removal Deletes the std/result and std/option doc pages and std-examples, adds docs and examples for 'or' types and for Option living in std/core, and ports every affected example off the removed packages and off explicit Variant<> syntax.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
sha=607c4bed947656f16904c3ad24c545874ccf4973
🤖 Salam AI reviewVerdict: 🛠️ Changes needed before merging commit SummaryThis pull request updates the English and Persian website docs and examples to remove What changed
Review
Tests
Risks
|
Summary
Stacked on #3112 (needs it merged first, since these examples use the new
or-type syntax and thecore-hostedOption).std/resultandstd/optiondoc pages (std/06-result.txt,std/07-option.txt) and theirstd-examples/directories.orsyntax.std/01-core.txt(en+fa) documentingOption<T>/Some/None/etc. now that they live instd/core.option./result./Variant<...>ontocore.*,T?, orA or B, with every.salam/.outpair regenerated from a real run.Test plan
.salamexample run against the compiler built from Add 'A or B or C' union types; remove std/result and std/option #3112's branch;.outfiles match exactly.diff -rqof the fullwebsite/contenttree against the equivalent working-tree state confirms nothing else changed.