MovnaTeam / movna

Open-source training application.
GNU General Public License v3.0
0 stars 1 forks source link

Replace every instance of `Either<Some, Failure>` to more explicit type #16

Closed BriceCroix closed 1 year ago

BriceCroix commented 1 year ago

The Either type is not an explicit result on its underlying data. It would be easier to deal with a type such as Rust's Result<Type, ErrorType>.

This package provides such type, that matches a swift one (not a Swift developper, I cannot tell).

But it is also be possible to write a custom wrapper around dartz's Either.

BriceCroix commented 1 year ago

closed by #17