Comments (4)
It's not like Result, so whoever writes the PR, don't start with comparing to Result.
from either.
Indeed, that's part of the problem, the docs say to use Result
for describing errors and that Either
is general purpose... but not what kind of purposes for example it would be useful for :)
I don't have any good suggestion how to write those docs though, I'm not good with writing docs.
from either.
I found this crate after specifically looking for this exact Iterator
implementation, so, for me, that was the compelling use case.
from either.
I found this crate being used in a large codebase and had/have no clue what it does. Reading the introduction didn't clarify it for me, it's too abstract and generic without a use case or example. I would also welcome an explanation of what a "sum type" is.
from either.
Related Issues (20)
- Impl Tokio traits for Either? HOT 2
- set serde derive to use serde untagged HOT 6
- serde_untagged_optional doesn't handle when field does not exist. HOT 2
- Unable to use "either::serde_untagged", instructions unclear HOT 2
- Use Github Actions for CI
- Publicly expose the `either!` macro? HOT 5
- Trait to add `right_or(Left)` to `Option<Right>`. HOT 2
- Provide "into-common-type" function HOT 1
- Missing rfold and nth_back specializations on DoubleEndedIterator impl
- Bring `std::error::Error` implementation up to latest version HOT 2
- Allow pin projection HOT 13
- Change `impl Future for Either` to `Output = Either` HOT 14
- Implement `bimap` which combines `left_map` and `right_map` HOT 2
- Add `flatten`, `flatten_right` and `flatten_left` methods HOT 2
- serde derive feature HOT 1
- Either constructors from `bool` HOT 5
- Generalize inner types for better Serde integration HOT 3
- Add more Iterator helper methods
- FEATURE REQUEST: some (attribute?) macro to implement our trait for Either easily HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from either.