This morning I was actually wishing for functor/applicative/monoid/monad properties in Rust. I am brainwormed.
Conversation
Replying to
Can they be emulated with GATs? I think I saw this mentioned somewhere but haven't looked into GATs much.
Thought about it more…I essentially need to convert Vec<Result<T>> into Result<Vec<T>>, but if I can manage to, I’ll return the first Err variant as it is produced.
1
Show replies

