News for hackers. Stuff that matters.
Re:Understanding Rust futures by going way too deep by a1369209993 on Monday July 26, 2021 @08:34PM (#27967266)
> It's easy to read, isn't?

No, it's verbose and ugly. Easy to read would be something like:

  fn try_join(a:A:Future<E||AR>,b:B:Future<E||BR>) -> impl Future<E||(AR,BR)>
(Rounding to the nearest Rust-like syntax where appropriate and borrowing `type (||) = Either` from Haskell.)

There are no comments on this comment yet.