Skip to content

Commit

Permalink
Update result.md (#337)
Browse files Browse the repository at this point in the history
Removed words duplication
  • Loading branch information
PavelShp committed Dec 21, 2022
1 parent 1f257f6 commit c538992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proposals/stdlib/result.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ However, this creates its own problems:

All in all, it does not seem that the costs outweigh whatever benefits it might bring.

> Defining an even more general `Either<L, R>` type as a discriminated union between between two arbitrary types
> Defining an even more general `Either<L, R>` type as a discriminated union between two arbitrary types
`L` and `R` and then using `typealias Result<T> = Either<Throwable, T>` raises similar problems with
an additional burden of designing functions for `Either` that would not needlessly pollute the namespace
of functions applicable to `Result`. We don't have sufficient motivating use-cases for having
Expand Down

0 comments on commit c538992

Please sign in to comment.